Code:
/ FX-1434 / FX-1434 / 1.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
- HttpPostClientProtocol.cs
- FormViewDeletedEventArgs.cs
- XPathAncestorQuery.cs
- XmlSchemaDocumentation.cs
- AnonymousIdentificationSection.cs
- DeadCharTextComposition.cs
- InstancePersistenceContext.cs
- BuildResult.cs
- CompoundFileReference.cs
- SoapMessage.cs
- SafeEventLogReadHandle.cs
- XmlDesigner.cs
- TypeSystemProvider.cs
- DelegatingTypeDescriptionProvider.cs
- TableLayoutStyle.cs
- brushes.cs
- XmlSchemaComplexType.cs
- ParallelRangeManager.cs
- ValueTypeFixupInfo.cs
- TemplatePartAttribute.cs
- PolyQuadraticBezierSegment.cs
- FrameworkRichTextComposition.cs
- ToolStripDropDownItem.cs
- MouseEvent.cs
- ExpressionEditorSheet.cs
- EditingMode.cs
- FormParameter.cs
- StrongNameKeyPair.cs
- FileDetails.cs
- InputReport.cs
- CodeSnippetExpression.cs
- SQLInt64.cs
- CroppedBitmap.cs
- BindingCompleteEventArgs.cs
- XomlCompilerParameters.cs
- TemplateColumn.cs
- DesigntimeLicenseContext.cs
- AssemblyHash.cs
- ContractUtils.cs
- TextTrailingCharacterEllipsis.cs
- InvalidProgramException.cs
- XmlAttributeAttribute.cs
- PageStatePersister.cs
- DESCryptoServiceProvider.cs
- XpsFixedPageReaderWriter.cs
- CollectionConverter.cs
- SoapObjectInfo.cs
- ADMembershipProvider.cs
- BuiltInExpr.cs
- NamedPermissionSet.cs
- XhtmlBasicLinkAdapter.cs
- RawAppCommandInputReport.cs
- XmlReflectionMember.cs
- PoisonMessageException.cs
- ServiceRouteHandler.cs
- RecognizeCompletedEventArgs.cs
- TextSelectionHighlightLayer.cs
- EntityDataSourceSelectedEventArgs.cs
- LoginName.cs
- Point3DCollection.cs
- _NegoState.cs
- HwndSource.cs
- WebPartDescription.cs
- CrossAppDomainChannel.cs
- ProfileManager.cs
- BypassElementCollection.cs
- ObjectParameterCollection.cs
- FlowDocument.cs
- NetDispatcherFaultException.cs
- DisposableCollectionWrapper.cs
- InheritanceAttribute.cs
- DataGridViewColumn.cs
- ErrorRuntimeConfig.cs
- SponsorHelper.cs
- XmlSchemaSimpleType.cs
- ProxyFragment.cs
- WebPart.cs
- DataGridRowEventArgs.cs
- DataGridViewRowCancelEventArgs.cs
- RowBinding.cs
- IconConverter.cs
- SettingsSection.cs
- WriteStateInfoBase.cs
- TextElementCollection.cs
- AnnotationComponentManager.cs
- RawAppCommandInputReport.cs
- DataGridViewComboBoxColumn.cs
- LinqMaximalSubtreeNominator.cs
- JavascriptXmlWriterWrapper.cs
- XmlSignificantWhitespace.cs
- MimeBasePart.cs
- SafeCryptoHandles.cs
- MustUnderstandBehavior.cs
- DataSetSchema.cs
- CodeChecksumPragma.cs
- EventLogger.cs
- ValueQuery.cs
- FragmentNavigationEventArgs.cs
- PropertyChangedEventArgs.cs
- CompiledWorkflowDefinitionContext.cs