Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / RepeaterItemCollection.cs / 1 / RepeaterItemCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class RepeaterItemCollection : ICollection { private ArrayList items; ///Encapsulates the collection of ///objects within a control. /// Initializes a new instance of /// the public RepeaterItemCollection(ArrayList items) { this.items = items; } ///class with the specified items. /// /// public int Count { get { return items.Count; } } ///Gets the item count of the collection. ////// public bool IsReadOnly { get { return false; } } ///Gets a value indicating whether the collection is read-only. ////// public bool IsSynchronized { get { return false; } } ///Gets a value indicating whether access to the collection is synchronized /// (thread-safe). ////// public object SyncRoot { get { return this; } } ///Gets the object that can be used to synchronize access to the collection. In /// this case, it is the collection itself. ////// public RepeaterItem this[int index] { get { return(RepeaterItem)items[index]; } } ///Gets a ///referenced by the specified ordinal index value in /// the collection. /// public void CopyTo(Array array, int index) { for (IEnumerator e = this.GetEnumerator(); e.MoveNext();) array.SetValue(e.Current, index++); } ///Copies contents from the collection to a specified ///with a /// specified starting index. /// public IEnumerator GetEnumerator() { return items.GetEnumerator(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Returns an enumerator of all ///controls within the /// collection.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExpressionBuilderCollection.cs
- KeyTime.cs
- Tablet.cs
- M3DUtil.cs
- CodeCompiler.cs
- ThousandthOfEmRealPoints.cs
- SelectedGridItemChangedEvent.cs
- Trace.cs
- CheckedListBox.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- PolicyManager.cs
- DataColumnPropertyDescriptor.cs
- OracleEncoding.cs
- PropertyConverter.cs
- Stackframe.cs
- BitmapDecoder.cs
- EntityContainerRelationshipSet.cs
- PrePrepareMethodAttribute.cs
- ToolStripDesignerAvailabilityAttribute.cs
- SecureStringHasher.cs
- TimeStampChecker.cs
- ClientFormsIdentity.cs
- GraphicsState.cs
- QilSortKey.cs
- DataListItemEventArgs.cs
- PreviewPageInfo.cs
- StreamResourceInfo.cs
- DefaultWorkflowTransactionService.cs
- FaultHandlingFilter.cs
- SmiEventSink_Default.cs
- ExeConfigurationFileMap.cs
- ListViewItem.cs
- UIElement3DAutomationPeer.cs
- TextElementEnumerator.cs
- EmbossBitmapEffect.cs
- TextParagraph.cs
- ToolStrip.cs
- PerformanceCounter.cs
- StateRuntime.cs
- DataGridViewEditingControlShowingEventArgs.cs
- FixedDocumentSequencePaginator.cs
- SetState.cs
- GridViewRowPresenterBase.cs
- ToolBar.cs
- XmlSerializableServices.cs
- MenuStrip.cs
- ExceptionUtil.cs
- RunClient.cs
- Accessors.cs
- ExpressionBuilderContext.cs
- BrowserDefinitionCollection.cs
- RedistVersionInfo.cs
- InheritanceRules.cs
- SMSvcHost.cs
- Button.cs
- BinaryReader.cs
- SqlUDTStorage.cs
- WsatEtwTraceListener.cs
- HtmlImage.cs
- Quaternion.cs
- HttpWrapper.cs
- CalculatedColumn.cs
- TextProviderWrapper.cs
- PeerConnector.cs
- EntityDataSourceColumn.cs
- CodeGeneratorOptions.cs
- coordinatorscratchpad.cs
- MsmqIntegrationChannelListener.cs
- XmlSchemaElement.cs
- StringWriter.cs
- ListViewHitTestInfo.cs
- HtmlInputReset.cs
- _NegoState.cs
- ButtonColumn.cs
- DocumentGridContextMenu.cs
- unsafeIndexingFilterStream.cs
- PerformanceCounterCategory.cs
- AsymmetricSecurityProtocolFactory.cs
- CqlIdentifiers.cs
- XmlPreloadedResolver.cs
- RSAPKCS1SignatureFormatter.cs
- SystemDiagnosticsSection.cs
- AnimatedTypeHelpers.cs
- HyperLink.cs
- KeyValuePair.cs
- KeyManager.cs
- QuaternionAnimationUsingKeyFrames.cs
- CreateUserWizardStep.cs
- PathData.cs
- ScrollBarAutomationPeer.cs
- _UncName.cs
- AssociationSet.cs
- StoragePropertyMapping.cs
- CommandPlan.cs
- Utils.cs
- PersonalizationState.cs
- SqlSelectStatement.cs
- BlurBitmapEffect.cs
- XmlResolver.cs
- SelectionItemProviderWrapper.cs