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
- XmlTextEncoder.cs
- InkCollectionBehavior.cs
- XPathSelfQuery.cs
- AssociationSet.cs
- CanonicalXml.cs
- FormatConvertedBitmap.cs
- MissingMethodException.cs
- BufferedReceiveManager.cs
- TypeCollectionDesigner.xaml.cs
- NewItemsContextMenuStrip.cs
- LocationSectionRecord.cs
- ResolveNameEventArgs.cs
- mactripleDES.cs
- HtmlInputCheckBox.cs
- CombinedGeometry.cs
- MoveSizeWinEventHandler.cs
- SettingsAttributeDictionary.cs
- KeyTime.cs
- ClaimTypes.cs
- webeventbuffer.cs
- PropertyCondition.cs
- ZipIOExtraFieldElement.cs
- AccessorTable.cs
- ContentDesigner.cs
- ContactManager.cs
- RelationshipManager.cs
- FaultFormatter.cs
- ClientProxyGenerator.cs
- DescriptionCreator.cs
- SystemTcpStatistics.cs
- HtmlEncodedRawTextWriter.cs
- AutomationPeer.cs
- ObjectMemberMapping.cs
- ImageDrawing.cs
- SqlNodeTypeOperators.cs
- RoutingChannelExtension.cs
- DataControlCommands.cs
- EmbeddedMailObject.cs
- RotateTransform.cs
- WsdlInspector.cs
- ToolStripScrollButton.cs
- TiffBitmapDecoder.cs
- HttpContext.cs
- FormsIdentity.cs
- EmbeddedObject.cs
- BinHexDecoder.cs
- BCLDebug.cs
- GeneralTransform3D.cs
- DataGridView.cs
- RowTypePropertyElement.cs
- StreamReader.cs
- GridViewCancelEditEventArgs.cs
- mil_commands.cs
- KeyTime.cs
- SQLInt16.cs
- DataGridViewAutoSizeModeEventArgs.cs
- Rss20FeedFormatter.cs
- DataProtectionSecurityStateEncoder.cs
- ResourceManager.cs
- WinFormsComponentEditor.cs
- MediaEntryAttribute.cs
- AdvancedBindingPropertyDescriptor.cs
- StoreConnection.cs
- Base64Stream.cs
- JpegBitmapDecoder.cs
- TransformCollection.cs
- SemaphoreSecurity.cs
- StatusBarAutomationPeer.cs
- DirectoryRedirect.cs
- ClientOptions.cs
- ListBoxItemWrapperAutomationPeer.cs
- _SSPIWrapper.cs
- _FtpControlStream.cs
- SafeMILHandleMemoryPressure.cs
- XamlTreeBuilder.cs
- HttpServerUtilityBase.cs
- FontFamilyIdentifier.cs
- ColumnPropertiesGroup.cs
- XslTransformFileEditor.cs
- OdbcEnvironmentHandle.cs
- ClientScriptManagerWrapper.cs
- CultureInfo.cs
- ConfigurationSettings.cs
- AutomationEventArgs.cs
- FixedPageAutomationPeer.cs
- CompilationLock.cs
- SqlMethodTransformer.cs
- HtmlTableRow.cs
- BitmapData.cs
- BooleanToVisibilityConverter.cs
- DiscoveryServiceExtension.cs
- _DigestClient.cs
- ProviderCollection.cs
- SymbolResolver.cs
- XComponentModel.cs
- DependencyObjectProvider.cs
- ProcessInputEventArgs.cs
- OperationSelectorBehavior.cs
- FlowLayoutSettings.cs
- TailPinnedEventArgs.cs