Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.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
- LineGeometry.cs
- LongPath.cs
- EncryptedKey.cs
- StringDictionary.cs
- XmlAttributes.cs
- XMLDiffLoader.cs
- Properties.cs
- GlyphingCache.cs
- Page.cs
- ToolBarPanel.cs
- QueryCacheEntry.cs
- AsymmetricAlgorithm.cs
- DeviceSpecificChoice.cs
- RNGCryptoServiceProvider.cs
- UnsafePeerToPeerMethods.cs
- GreenMethods.cs
- ToolStripItem.cs
- FamilyMapCollection.cs
- MasterPageBuildProvider.cs
- ElementAction.cs
- WindowsImpersonationContext.cs
- SubclassTypeValidatorAttribute.cs
- x509utils.cs
- PageThemeCodeDomTreeGenerator.cs
- CfgParser.cs
- ProcessHostFactoryHelper.cs
- ReadOnlyCollectionBase.cs
- ParserContext.cs
- StatusBar.cs
- ListView.cs
- SafeFileHandle.cs
- Main.cs
- ApplicationManager.cs
- Duration.cs
- StackSpiller.Bindings.cs
- GradientStopCollection.cs
- ClientSettings.cs
- ArrayTypeMismatchException.cs
- StylusCaptureWithinProperty.cs
- HScrollBar.cs
- LambdaCompiler.Statements.cs
- DBParameter.cs
- IProducerConsumerCollection.cs
- SelectorItemAutomationPeer.cs
- __ComObject.cs
- HebrewCalendar.cs
- ReflectionHelper.cs
- TextServicesPropertyRanges.cs
- messageonlyhwndwrapper.cs
- ToolStripSeparatorRenderEventArgs.cs
- ColorPalette.cs
- UnSafeCharBuffer.cs
- ListenerElementsCollection.cs
- Operator.cs
- KeyValueSerializer.cs
- BaseCAMarshaler.cs
- TreeNodeSelectionProcessor.cs
- HintTextConverter.cs
- GestureRecognizer.cs
- DataRow.cs
- HScrollProperties.cs
- XmlQueryContext.cs
- SynchronizedPool.cs
- RoleServiceManager.cs
- DataRelation.cs
- BulletedListDesigner.cs
- WeakReferenceEnumerator.cs
- PersonalizationAdministration.cs
- UidManager.cs
- SecUtil.cs
- FaultException.cs
- _UriSyntax.cs
- IPAddressCollection.cs
- SetState.cs
- GuidelineCollection.cs
- DataGridViewCellCancelEventArgs.cs
- TypeTypeConverter.cs
- OneOfConst.cs
- sqlser.cs
- DecoderExceptionFallback.cs
- TextFormatterHost.cs
- EmptyControlCollection.cs
- Visual3DCollection.cs
- WebPartTracker.cs
- Int64Animation.cs
- Accessible.cs
- GradientPanel.cs
- XmlAttributes.cs
- DocComment.cs
- xmlglyphRunInfo.cs
- HandlerMappingMemo.cs
- AutomationPeer.cs
- Size.cs
- DoubleStorage.cs
- DoubleLink.cs
- EntityExpressionVisitor.cs
- SafeHGlobalHandleCritical.cs
- ScalarRestriction.cs
- ConnectionManager.cs
- XmlLinkedNode.cs