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
- CodeDOMUtility.cs
- DataGridViewCellStateChangedEventArgs.cs
- SortAction.cs
- Native.cs
- FontResourceCache.cs
- ExecutedRoutedEventArgs.cs
- WebPartUtil.cs
- GetPageCompletedEventArgs.cs
- FixedElement.cs
- SimpleLine.cs
- ImageDesigner.cs
- DesignerTextViewAdapter.cs
- ComboBoxItem.cs
- ToolStripPanelSelectionGlyph.cs
- GridPattern.cs
- BuildProvider.cs
- DataGridAutomationPeer.cs
- DataGridHelper.cs
- ExpressionVisitor.cs
- Control.cs
- ObjectQueryProvider.cs
- ResourceManagerWrapper.cs
- XmlNamespaceMapping.cs
- XmlMembersMapping.cs
- ScriptDescriptor.cs
- GridViewRowEventArgs.cs
- Semaphore.cs
- StagingAreaInputItem.cs
- WindowsEditBoxRange.cs
- DocumentPageTextView.cs
- Point3DCollection.cs
- EntityException.cs
- DATA_BLOB.cs
- DocumentGrid.cs
- DiagnosticsConfigurationHandler.cs
- ApplicationInfo.cs
- TemplateLookupAction.cs
- InputLanguageManager.cs
- ReadOnlyKeyedCollection.cs
- NullReferenceException.cs
- DetailsViewModeEventArgs.cs
- BitmapEncoder.cs
- TdsParserStaticMethods.cs
- COAUTHIDENTITY.cs
- MouseGestureValueSerializer.cs
- SqlServer2KCompatibilityCheck.cs
- DataGridViewCheckBoxCell.cs
- ThousandthOfEmRealPoints.cs
- Visitor.cs
- EventNotify.cs
- WorkflowInstanceProvider.cs
- Pkcs7Signer.cs
- ConfigurationValidatorBase.cs
- Transform3DCollection.cs
- OutputBuffer.cs
- OperationExecutionFault.cs
- PerspectiveCamera.cs
- ListBindingConverter.cs
- JsonWriter.cs
- RouteTable.cs
- ValuePattern.cs
- InvalidAsynchronousStateException.cs
- EventProviderBase.cs
- Pair.cs
- PersonalizableAttribute.cs
- BitmapEffectInputData.cs
- ConfigurationUtility.cs
- MenuScrollingVisibilityConverter.cs
- UniqueEventHelper.cs
- DatePickerTextBox.cs
- SyndicationItemFormatter.cs
- StrokeNodeOperations2.cs
- SQLRoleProvider.cs
- ApplicationServicesHostFactory.cs
- ExtensionQuery.cs
- ResourceExpression.cs
- XmlLinkedNode.cs
- SemanticResolver.cs
- EntityDataSourceMemberPath.cs
- DateTimeFormat.cs
- XPathArrayIterator.cs
- formatter.cs
- Thickness.cs
- DrawItemEvent.cs
- RepeatInfo.cs
- _HeaderInfoTable.cs
- FixedPage.cs
- RuntimeComponentFilter.cs
- AnnotationHighlightLayer.cs
- TypeCollectionDesigner.xaml.cs
- HashSet.cs
- DriveInfo.cs
- UnmanagedHandle.cs
- CodeAttributeArgument.cs
- SpotLight.cs
- PriorityItem.cs
- SchemaReference.cs
- NameValuePermission.cs
- ErrorView.xaml.cs
- ObjectStateEntryDbDataRecord.cs