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
- SafePEFileHandle.cs
- DataGridViewCellLinkedList.cs
- IISUnsafeMethods.cs
- EntityFrameworkVersions.cs
- ArraySortHelper.cs
- BaseParaClient.cs
- ArrowControl.xaml.cs
- SqlMultiplexer.cs
- XsltException.cs
- SafeRightsManagementQueryHandle.cs
- WorkflowMarkupSerializer.cs
- xml.cs
- TypeElement.cs
- InputBinder.cs
- ProcessHost.cs
- LabelExpression.cs
- CmsInterop.cs
- DiagnosticsConfigurationHandler.cs
- XmlElement.cs
- GroupBox.cs
- CreateUserErrorEventArgs.cs
- Psha1DerivedKeyGenerator.cs
- WrappedIUnknown.cs
- TopClause.cs
- ReflectionTypeLoadException.cs
- LoginName.cs
- ColumnMapTranslator.cs
- SubMenuStyle.cs
- BooleanConverter.cs
- GenerateHelper.cs
- BrowserPolicyValidator.cs
- Int32Collection.cs
- PatternMatcher.cs
- XmlSchemaInferenceException.cs
- ReaderWriterLock.cs
- GcHandle.cs
- DataIdProcessor.cs
- DBParameter.cs
- PowerModeChangedEventArgs.cs
- AnimationTimeline.cs
- CurrencyManager.cs
- MetadataItem_Static.cs
- GradientSpreadMethodValidation.cs
- ConfigurationManagerInternalFactory.cs
- DoubleLinkList.cs
- OdbcConnectionPoolProviderInfo.cs
- InputEventArgs.cs
- XmlEntity.cs
- TransactedBatchingBehavior.cs
- ResolveResponseInfo.cs
- TransformGroup.cs
- SqlCacheDependency.cs
- SecurityContext.cs
- TableCellCollection.cs
- ZoneButton.cs
- ErasingStroke.cs
- ObjectNotFoundException.cs
- XmlSchemaImporter.cs
- DbMetaDataCollectionNames.cs
- TextWriterTraceListener.cs
- bidPrivateBase.cs
- SafeHandle.cs
- AsymmetricKeyExchangeDeformatter.cs
- OleDbConnectionInternal.cs
- TreeView.cs
- AbstractSvcMapFileLoader.cs
- TableCellCollection.cs
- DataFormat.cs
- X509Certificate.cs
- SplayTreeNode.cs
- FileDialog.cs
- ListViewItemMouseHoverEvent.cs
- _FixedSizeReader.cs
- Column.cs
- NameGenerator.cs
- _CookieModule.cs
- DataGridViewDataConnection.cs
- PeerContact.cs
- GenericTypeParameterBuilder.cs
- XmlSchemaSet.cs
- RecognizedAudio.cs
- ByteAnimationUsingKeyFrames.cs
- Label.cs
- ImmComposition.cs
- ToolStripSplitStackLayout.cs
- WrappedIUnknown.cs
- RegexRunner.cs
- SpeechDetectedEventArgs.cs
- SetIterators.cs
- SqlBulkCopy.cs
- ButtonBaseAdapter.cs
- SrgsNameValueTag.cs
- AVElementHelper.cs
- HyperLinkColumn.cs
- UIntPtr.cs
- DoWorkEventArgs.cs
- WindowAutomationPeer.cs
- ParentControlDesigner.cs
- BookmarkEventArgs.cs
- MergePropertyDescriptor.cs