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
- InitializationEventAttribute.cs
- ByteArrayHelperWithString.cs
- SqlGenericUtil.cs
- Bidi.cs
- ClusterRegistryConfigurationProvider.cs
- _ShellExpression.cs
- FigureHelper.cs
- StatusBarPanel.cs
- ViewStateModeByIdAttribute.cs
- CompositionAdorner.cs
- XmlDataSource.cs
- WSSecurityPolicy12.cs
- SponsorHelper.cs
- WindowsIdentity.cs
- formatstringdialog.cs
- TextStore.cs
- BamlBinaryReader.cs
- wmiprovider.cs
- ISessionStateStore.cs
- KerberosReceiverSecurityToken.cs
- ContainerParaClient.cs
- Size.cs
- Point3DCollectionValueSerializer.cs
- SqlDependency.cs
- EventLogger.cs
- HtmlInputRadioButton.cs
- streamingZipPartStream.cs
- Stylesheet.cs
- XmlSerializerAssemblyAttribute.cs
- IconConverter.cs
- EllipseGeometry.cs
- EnumDataContract.cs
- UIElementHelper.cs
- HeaderUtility.cs
- PhysicalFontFamily.cs
- InvokePattern.cs
- validationstate.cs
- Authorization.cs
- SpanIndex.cs
- TypeDelegator.cs
- XXXOnTypeBuilderInstantiation.cs
- DataControlExtensions.cs
- PrePrepareMethodAttribute.cs
- AppDomainFactory.cs
- WebPartEditorCancelVerb.cs
- AuthorizationRuleCollection.cs
- NodeInfo.cs
- TreeNodeCollectionEditorDialog.cs
- HttpRequest.cs
- DesignerPainter.cs
- TypeElementCollection.cs
- NameNode.cs
- DataServiceCollectionOfT.cs
- SafeUserTokenHandle.cs
- objectresult_tresulttype.cs
- MemberCollection.cs
- PlainXmlSerializer.cs
- ExtractorMetadata.cs
- ToolStripPanel.cs
- Model3D.cs
- InputLanguageProfileNotifySink.cs
- DWriteFactory.cs
- XmlFormatExtensionAttribute.cs
- EventHandlingScope.cs
- GridViewRowEventArgs.cs
- ADConnectionHelper.cs
- GlobalizationAssembly.cs
- ForwardPositionQuery.cs
- X509WindowsSecurityToken.cs
- WrappingXamlSchemaContext.cs
- ContextMenuAutomationPeer.cs
- SqlFormatter.cs
- RegexParser.cs
- RangeValuePatternIdentifiers.cs
- SchemaDeclBase.cs
- httpstaticobjectscollection.cs
- MouseBinding.cs
- TraceRecord.cs
- DateTimeEditor.cs
- StorageBasedPackageProperties.cs
- CodeGenerationManager.cs
- VisualBrush.cs
- StylusButtonCollection.cs
- ShaperBuffers.cs
- MultipartIdentifier.cs
- VBIdentifierNameEditor.cs
- MILUtilities.cs
- SafeUserTokenHandle.cs
- MobileUITypeEditor.cs
- TableSectionStyle.cs
- ConditionalAttribute.cs
- SrgsGrammarCompiler.cs
- DownloadProgressEventArgs.cs
- TextAction.cs
- TreeNodeCollection.cs
- ScrollItemProviderWrapper.cs
- WorkflowServiceHost.cs
- TextTreeTextBlock.cs
- SQLCharsStorage.cs
- QilExpression.cs