Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / RepeaterItemCollection.cs / 1 / RepeaterItemCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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(); } } }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
- WindowsSysHeader.cs
- Line.cs
- BamlWriter.cs
- SafeCertificateStore.cs
- EditableRegion.cs
- TransformedBitmap.cs
- SiteMapHierarchicalDataSourceView.cs
- Matrix3D.cs
- HTTPNotFoundHandler.cs
- GraphicsState.cs
- DiagnosticTraceSource.cs
- PackageRelationshipCollection.cs
- PropertySet.cs
- EntityObject.cs
- ReferencedAssembly.cs
- XmlSubtreeReader.cs
- CryptoKeySecurity.cs
- SqlParameter.cs
- NullExtension.cs
- TdsParserStateObject.cs
- DocumentXPathNavigator.cs
- ScopedKnownTypes.cs
- EntityDataSourceValidationException.cs
- SelectedPathEditor.cs
- IgnoreFlushAndCloseStream.cs
- ThreadStartException.cs
- Guid.cs
- TemplateApplicationHelper.cs
- DateTimeFormat.cs
- TextEvent.cs
- tooltip.cs
- FormsAuthenticationEventArgs.cs
- IpcServerChannel.cs
- TextRangeBase.cs
- DataSvcMapFile.cs
- BitmapMetadataBlob.cs
- IncomingWebResponseContext.cs
- BasePropertyDescriptor.cs
- StylusDevice.cs
- ImportContext.cs
- InstanceKeyView.cs
- XmlSchemaObjectCollection.cs
- XmlCharType.cs
- TraceLog.cs
- WindowsSlider.cs
- Point.cs
- ObjectContextServiceProvider.cs
- DebugView.cs
- DesignerCatalogPartChrome.cs
- SafeThreadHandle.cs
- BufferedWebEventProvider.cs
- LocationSectionRecord.cs
- WmlLabelAdapter.cs
- ThemeableAttribute.cs
- CreateUserWizard.cs
- SiteMapDesignerDataSourceView.cs
- InvalidAsynchronousStateException.cs
- OdbcCommand.cs
- ExtendedPropertyCollection.cs
- DependsOnAttribute.cs
- HttpValueCollection.cs
- RightsManagementResourceHelper.cs
- SourceLineInfo.cs
- TaskHelper.cs
- VersionConverter.cs
- PreparingEnlistment.cs
- CellQuery.cs
- DynamicActivityTypeDescriptor.cs
- SafePEFileHandle.cs
- QuotaExceededException.cs
- TreeViewImageIndexConverter.cs
- ParserStreamGeometryContext.cs
- NonSerializedAttribute.cs
- InitializationEventAttribute.cs
- ScrollChangedEventArgs.cs
- WebPartConnectionsCancelEventArgs.cs
- IdentityNotMappedException.cs
- ListView.cs
- CallTemplateAction.cs
- AmbientProperties.cs
- CodeConditionStatement.cs
- AvTrace.cs
- SQLBinaryStorage.cs
- InkCanvasInnerCanvas.cs
- TextCollapsingProperties.cs
- EmptyCollection.cs
- AncillaryOps.cs
- EntitySetBaseCollection.cs
- SingleAnimationUsingKeyFrames.cs
- CapacityStreamGeometryContext.cs
- DataSourceCollectionBase.cs
- WasAdminWrapper.cs
- DesignerOptionService.cs
- CollectionsUtil.cs
- PassportPrincipal.cs
- CroppedBitmap.cs
- EventMap.cs
- regiisutil.cs
- Profiler.cs
- ProxyFragment.cs