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
- ListenerConfig.cs
- UTF32Encoding.cs
- CombinedTcpChannel.cs
- DataGridRow.cs
- SqlLiftIndependentRowExpressions.cs
- InternalDispatchObject.cs
- ACE.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- HostExecutionContextManager.cs
- DecoderNLS.cs
- OutputCache.cs
- MarkupProperty.cs
- X509IssuerSerialKeyIdentifierClause.cs
- Effect.cs
- PrefixQName.cs
- RegexCode.cs
- WindowsFormsHelpers.cs
- XmlReflectionMember.cs
- VerticalAlignConverter.cs
- DmlSqlGenerator.cs
- Roles.cs
- WinEventTracker.cs
- Statements.cs
- nulltextnavigator.cs
- RowVisual.cs
- RSAProtectedConfigurationProvider.cs
- BaseParser.cs
- ContentTypeSettingClientMessageFormatter.cs
- ExpressionDumper.cs
- securitymgrsite.cs
- WindowsAuthenticationEventArgs.cs
- XhtmlTextWriter.cs
- SSmlParser.cs
- CommonXSendMessage.cs
- WindowsProgressbar.cs
- ExcCanonicalXml.cs
- QilStrConcatenator.cs
- BitmapEffect.cs
- CurrencyWrapper.cs
- ErrorStyle.cs
- Assembly.cs
- COM2ColorConverter.cs
- XmlExtensionFunction.cs
- ReaderContextStackData.cs
- SplashScreen.cs
- EntityProviderFactory.cs
- SecurityHelper.cs
- TypeDescriptor.cs
- PenLineJoinValidation.cs
- updatecommandorderer.cs
- ClientRuntimeConfig.cs
- SqlInternalConnectionSmi.cs
- TagPrefixInfo.cs
- SchemaElementLookUpTable.cs
- AutomationFocusChangedEventArgs.cs
- mediapermission.cs
- InvariantComparer.cs
- HttpBrowserCapabilitiesWrapper.cs
- FigureParagraph.cs
- KnowledgeBase.cs
- ClientFactory.cs
- LeaseManager.cs
- ObjectHelper.cs
- WSTrustDec2005.cs
- SimpleMailWebEventProvider.cs
- ErasingStroke.cs
- ServiceDescription.cs
- Crc32Helper.cs
- XmlNamespaceMapping.cs
- CodeVariableReferenceExpression.cs
- DashStyle.cs
- SymbolType.cs
- Membership.cs
- WebServiceEnumData.cs
- XmlAttributeHolder.cs
- PackageRelationshipSelector.cs
- TaskResultSetter.cs
- Encoder.cs
- NonceToken.cs
- TemplateKey.cs
- ParameterModifier.cs
- DetailsViewModeEventArgs.cs
- HotSpotCollection.cs
- ToolStripPanel.cs
- HelloMessageApril2005.cs
- BitmapEffectGroup.cs
- _CacheStreams.cs
- PersonalizationDictionary.cs
- MimeObjectFactory.cs
- VirtualizedContainerService.cs
- Point3DAnimation.cs
- FontSource.cs
- HwndSourceParameters.cs
- Win32.cs
- CacheOutputQuery.cs
- CancelRequestedRecord.cs
- WebPartConnectionsDisconnectVerb.cs
- ChoiceConverter.cs
- DataTemplateSelector.cs
- SchemaNamespaceManager.cs