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
- DoWorkEventArgs.cs
- NamespaceDecl.cs
- SQlBooleanStorage.cs
- DbConvert.cs
- MulticastNotSupportedException.cs
- CurrentTimeZone.cs
- CheckBox.cs
- WebServiceAttribute.cs
- QilExpression.cs
- ErrorItem.cs
- EDesignUtil.cs
- DataControlLinkButton.cs
- EventLogInformation.cs
- ViewValidator.cs
- ClockController.cs
- SettingsProperty.cs
- SizeValueSerializer.cs
- DataRowView.cs
- PeerTransportListenAddressValidatorAttribute.cs
- Matrix.cs
- Calendar.cs
- DefaultEvaluationContext.cs
- COM2PropertyDescriptor.cs
- WSDualHttpSecurityElement.cs
- Debugger.cs
- VisualStateManager.cs
- StorageTypeMapping.cs
- GroupStyle.cs
- VisualTreeHelper.cs
- BaseEntityWrapper.cs
- MailHeaderInfo.cs
- SizeChangedInfo.cs
- DynamicMethod.cs
- EventlogProvider.cs
- Exceptions.cs
- BitmapEffectDrawingContextWalker.cs
- MailSettingsSection.cs
- PersonalizationStateInfoCollection.cs
- GiveFeedbackEventArgs.cs
- ExpressionEditorAttribute.cs
- ParameterModifier.cs
- UpdatePanelTriggerCollection.cs
- ExpandedWrapper.cs
- XsdBuildProvider.cs
- QilFunction.cs
- SecurityHeaderTokenResolver.cs
- DocumentXPathNavigator.cs
- TraceEventCache.cs
- InvalidFilterCriteriaException.cs
- ImageField.cs
- VariableElement.cs
- TriggerCollection.cs
- WebServiceReceiveDesigner.cs
- SHA512.cs
- CodeVariableDeclarationStatement.cs
- TextFormatter.cs
- ResourceReferenceExpression.cs
- ListViewContainer.cs
- FormsAuthenticationUserCollection.cs
- unsafenativemethodstextservices.cs
- SemanticValue.cs
- Regex.cs
- MailDefinition.cs
- RijndaelCryptoServiceProvider.cs
- ReplacementText.cs
- ISAPIApplicationHost.cs
- SqlUdtInfo.cs
- CaseInsensitiveOrdinalStringComparer.cs
- StatusBarPanel.cs
- StrongNameIdentityPermission.cs
- ElementsClipboardData.cs
- FixedSOMLineCollection.cs
- PropertyPushdownHelper.cs
- FaultBookmark.cs
- StylusPointPropertyInfo.cs
- NetCodeGroup.cs
- CodeCatchClause.cs
- FormsAuthenticationUser.cs
- SqlReorderer.cs
- FamilyTypefaceCollection.cs
- HelpKeywordAttribute.cs
- NativeMethodsOther.cs
- GroupLabel.cs
- ResourceDefaultValueAttribute.cs
- ReadingWritingEntityEventArgs.cs
- DataGridViewDesigner.cs
- DomNameTable.cs
- TypeElementCollection.cs
- DiscoveryInnerClientAdhoc11.cs
- ElementHost.cs
- SimpleExpression.cs
- ItemCheckEvent.cs
- SrgsDocument.cs
- ClientRuntimeConfig.cs
- StringReader.cs
- HMACSHA512.cs
- MethodBody.cs
- DropSourceBehavior.cs
- PrePostDescendentsWalker.cs
- HuffmanTree.cs