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
- Misc.cs
- TextServicesCompartment.cs
- InkPresenter.cs
- SpellCheck.cs
- CriticalHandle.cs
- PartialTrustValidationBehavior.cs
- Region.cs
- ArraySet.cs
- BuildDependencySet.cs
- GridViewRowCollection.cs
- SystemIPv6InterfaceProperties.cs
- AxHost.cs
- ProtocolsSection.cs
- RegexNode.cs
- BorderSidesEditor.cs
- DeploymentExceptionMapper.cs
- PropertyOverridesDialog.cs
- StylusButton.cs
- RequestTimeoutManager.cs
- UICuesEvent.cs
- PropertyInfoSet.cs
- CorruptStoreException.cs
- ResizeGrip.cs
- BitmapCodecInfo.cs
- CompModHelpers.cs
- ApplicationFileCodeDomTreeGenerator.cs
- controlskin.cs
- Internal.cs
- SqlParameterizer.cs
- HttpException.cs
- QueryCacheEntry.cs
- UniqueIdentifierService.cs
- TablePatternIdentifiers.cs
- RowParagraph.cs
- SchemaMerger.cs
- SourceChangedEventArgs.cs
- WebPartsPersonalizationAuthorization.cs
- DNS.cs
- FormsAuthenticationTicket.cs
- RuntimeWrappedException.cs
- ResourceReader.cs
- FigureParaClient.cs
- ToolStripSplitButton.cs
- PartitionResolver.cs
- Helper.cs
- GridViewEditEventArgs.cs
- PropertyConverter.cs
- CrossAppDomainChannel.cs
- XmlEnumAttribute.cs
- TextServicesDisplayAttribute.cs
- HostVisual.cs
- ToolStripItemImageRenderEventArgs.cs
- SessionStateModule.cs
- RelationshipDetailsRow.cs
- WebPartDisplayModeCancelEventArgs.cs
- ImageMapEventArgs.cs
- ToolboxItemCollection.cs
- Attributes.cs
- DbConnectionFactory.cs
- SchemaName.cs
- TableDetailsRow.cs
- mediaeventshelper.cs
- TextBoxAutomationPeer.cs
- BezierSegment.cs
- ContentPlaceHolder.cs
- DesignerAutoFormatCollection.cs
- ActivityTypeResolver.xaml.cs
- TimeZone.cs
- UIServiceHelper.cs
- IsolatedStorageFileStream.cs
- BamlRecordHelper.cs
- HttpModulesSection.cs
- XPathPatternBuilder.cs
- __Error.cs
- ServiceMemoryGates.cs
- ContractNamespaceAttribute.cs
- SecurityElement.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- NullableIntMinMaxAggregationOperator.cs
- SourceFileInfo.cs
- SmtpCommands.cs
- ScrollPattern.cs
- RelationshipConstraintValidator.cs
- TreeView.cs
- BitmapCacheBrush.cs
- XmlArrayItemAttribute.cs
- CodeDelegateInvokeExpression.cs
- FieldDescriptor.cs
- TextEndOfParagraph.cs
- ScrollBar.cs
- smtppermission.cs
- DupHandleConnectionReader.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- UnsafeNativeMethods.cs
- MailBnfHelper.cs
- XmlCDATASection.cs
- ConnectionProviderAttribute.cs
- StylusPlugInCollection.cs
- ObjectDataSourceView.cs
- XamlSerializerUtil.cs