Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / RepeaterItemCollection.cs / 1305376 / RepeaterItemCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Collections; ////// 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.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
- Panel.cs
- MetadataPropertyAttribute.cs
- DownloadProgressEventArgs.cs
- FileDetails.cs
- DesignerDataSchemaClass.cs
- DrawTreeNodeEventArgs.cs
- EasingKeyFrames.cs
- ElementUtil.cs
- AesManaged.cs
- ProjectionRewriter.cs
- SqlConnectionPoolProviderInfo.cs
- HttpCookieCollection.cs
- DocumentManager.cs
- XmlConverter.cs
- ISAPIWorkerRequest.cs
- ScriptDescriptor.cs
- NetNamedPipeBindingCollectionElement.cs
- UnmanagedMemoryStream.cs
- NavigationProgressEventArgs.cs
- XmlSerializerOperationGenerator.cs
- Page.cs
- CircleHotSpot.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SortAction.cs
- _NegoState.cs
- BamlLocalizer.cs
- SubstitutionDesigner.cs
- OrderedEnumerableRowCollection.cs
- SwitchAttribute.cs
- PageSettings.cs
- EmptyCollection.cs
- APCustomTypeDescriptor.cs
- SpecularMaterial.cs
- CompilationRelaxations.cs
- InternalMappingException.cs
- ListViewPagedDataSource.cs
- XPathScanner.cs
- Line.cs
- ResourceContainer.cs
- MaskedTextBoxTextEditor.cs
- StorageEntitySetMapping.cs
- DocumentOrderQuery.cs
- SqlDependency.cs
- NamedPipeActivation.cs
- UrlMappingsSection.cs
- ImageListStreamer.cs
- ETagAttribute.cs
- DummyDataSource.cs
- DataGridViewDataErrorEventArgs.cs
- FixedNode.cs
- WmpBitmapDecoder.cs
- EventLogPermission.cs
- ToolStripPanelRenderEventArgs.cs
- PageBuildProvider.cs
- _FtpControlStream.cs
- XmlAttributeAttribute.cs
- AuthorizationRule.cs
- ManualResetEvent.cs
- ExpressionBuilderContext.cs
- SqlAliaser.cs
- FolderBrowserDialog.cs
- ObjectViewEntityCollectionData.cs
- EntityDataSourceState.cs
- TextTreeNode.cs
- PersonalizablePropertyEntry.cs
- SchemaNamespaceManager.cs
- KernelTypeValidation.cs
- FormsIdentity.cs
- FullTextBreakpoint.cs
- FlowLayoutPanel.cs
- embossbitmapeffect.cs
- ReferentialConstraint.cs
- ResourcePermissionBase.cs
- IPGlobalProperties.cs
- PropertyExpression.cs
- QueryStringParameter.cs
- VerticalConnector.xaml.cs
- DirectoryNotFoundException.cs
- StaticSiteMapProvider.cs
- Pair.cs
- GZipObjectSerializer.cs
- OrderingQueryOperator.cs
- DataRecord.cs
- OperationInfo.cs
- SqlNotificationRequest.cs
- RtfToXamlReader.cs
- WorkflowApplication.cs
- Inline.cs
- ValidatorCollection.cs
- StrokeFIndices.cs
- Emitter.cs
- ToReply.cs
- LogicalExpr.cs
- RowToFieldTransformer.cs
- DifferencingCollection.cs
- DataMemberConverter.cs
- KeyConstraint.cs
- DBPropSet.cs
- InArgument.cs
- documentsequencetextview.cs