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
- formatter.cs
- remotingproxy.cs
- ListViewEditEventArgs.cs
- NGCSerializationManagerAsync.cs
- UnmanagedBitmapWrapper.cs
- DefaultSerializationProviderAttribute.cs
- PropertyItem.cs
- DoubleCollectionConverter.cs
- WhitespaceRule.cs
- RegionInfo.cs
- WindowsScrollBar.cs
- SqlDataSourceFilteringEventArgs.cs
- ControlCollection.cs
- OpenTypeLayoutCache.cs
- ControlEvent.cs
- MachineSettingsSection.cs
- WebCategoryAttribute.cs
- ImageCreator.cs
- StateMachineDesignerPaint.cs
- PassportPrincipal.cs
- SessionPageStatePersister.cs
- EraserBehavior.cs
- TextElementEnumerator.cs
- OleDbTransaction.cs
- PermissionSet.cs
- CreateUserWizardDesigner.cs
- NameValueSectionHandler.cs
- XamlPathDataSerializer.cs
- BaseTemplateBuildProvider.cs
- FloaterParagraph.cs
- TTSEngineProxy.cs
- LambdaCompiler.Binary.cs
- Axis.cs
- PersistenceException.cs
- OutputWindow.cs
- DesignerActionVerbItem.cs
- TypeDescriptor.cs
- DataSourceDesigner.cs
- SqlProfileProvider.cs
- SpellerError.cs
- SeekStoryboard.cs
- ToolStripItemTextRenderEventArgs.cs
- GenericAuthenticationEventArgs.cs
- InternalResources.cs
- ExpressionCopier.cs
- WebBrowserProgressChangedEventHandler.cs
- querybuilder.cs
- TextContainerChangeEventArgs.cs
- FileDialogCustomPlacesCollection.cs
- WmfPlaceableFileHeader.cs
- ListArgumentProvider.cs
- CssClassPropertyAttribute.cs
- parserscommon.cs
- FunctionMappingTranslator.cs
- ScriptReference.cs
- Evidence.cs
- EdmScalarPropertyAttribute.cs
- PersianCalendar.cs
- KeyInstance.cs
- Normalization.cs
- TabletCollection.cs
- MetaModel.cs
- DirectionalLight.cs
- DatagridviewDisplayedBandsData.cs
- SeparatorAutomationPeer.cs
- _ConnectOverlappedAsyncResult.cs
- DynamicDataManager.cs
- DirectoryInfo.cs
- EventSinkActivity.cs
- ToolStripTextBox.cs
- LinkArea.cs
- MarshalDirectiveException.cs
- TdsEnums.cs
- DataGridViewCellEventArgs.cs
- ProviderSettings.cs
- Renderer.cs
- FragmentNavigationEventArgs.cs
- InstalledVoice.cs
- log.cs
- StringStorage.cs
- TableDetailsCollection.cs
- WebBrowsableAttribute.cs
- CodeDOMProvider.cs
- ProfileModule.cs
- XmlDataContract.cs
- ObjectQuery_EntitySqlExtensions.cs
- FormClosingEvent.cs
- OleDbParameterCollection.cs
- CrossContextChannel.cs
- BrushConverter.cs
- StylusPointPropertyInfo.cs
- TransportReplyChannelAcceptor.cs
- Rectangle.cs
- log.cs
- GridViewRowCollection.cs
- BitmapEffectGroup.cs
- WebBrowserUriTypeConverter.cs
- TextRangeSerialization.cs
- EndEvent.cs
- ConstructorBuilder.cs