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
- OrderedDictionaryStateHelper.cs
- DelegateTypeInfo.cs
- NoResizeHandleGlyph.cs
- Calendar.cs
- ListViewItemMouseHoverEvent.cs
- IPPacketInformation.cs
- NumberSubstitution.cs
- CellParaClient.cs
- ShapeTypeface.cs
- BufferBuilder.cs
- EventLogInformation.cs
- assertwrapper.cs
- ImageMap.cs
- BookmarkEventArgs.cs
- XmlCharType.cs
- WindowsIdentity.cs
- ErasingStroke.cs
- OleStrCAMarshaler.cs
- EmbeddedObject.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DataGridViewRowsRemovedEventArgs.cs
- PowerStatus.cs
- UserControl.cs
- TcpChannelHelper.cs
- BindableTemplateBuilder.cs
- RtfFormatStack.cs
- MSAAEventDispatcher.cs
- DeferredReference.cs
- LayoutUtils.cs
- DelimitedListTraceListener.cs
- TransformGroup.cs
- TokenizerHelper.cs
- InternalConfigHost.cs
- Propagator.JoinPropagator.cs
- ToolTipAutomationPeer.cs
- SqlBooleanMismatchVisitor.cs
- VerificationAttribute.cs
- CustomValidator.cs
- WsdlInspector.cs
- FixedFindEngine.cs
- StsCommunicationException.cs
- PageWrapper.cs
- CodePageEncoding.cs
- SessionPageStatePersister.cs
- _ServiceNameStore.cs
- InputLanguage.cs
- ChannelManager.cs
- CompositeControl.cs
- NativeBuffer.cs
- GenericQueueSurrogate.cs
- EventDescriptorCollection.cs
- InstanceBehavior.cs
- CustomPopupPlacement.cs
- SqlConnection.cs
- BitmapData.cs
- DodSequenceMerge.cs
- ControlParser.cs
- Matrix3D.cs
- ParserContext.cs
- ContainerFilterService.cs
- PersonalizationProviderHelper.cs
- AncestorChangedEventArgs.cs
- WorkflowMarkupSerializerMapping.cs
- ColumnHeaderConverter.cs
- TraceContextRecord.cs
- updateconfighost.cs
- StringFreezingAttribute.cs
- BookmarkOptionsHelper.cs
- XmlSchemaRedefine.cs
- mansign.cs
- MimeFormatter.cs
- GeneralTransform3D.cs
- ConfigXmlCDataSection.cs
- LinqExpressionNormalizer.cs
- ToolboxComponentsCreatingEventArgs.cs
- SqlConnectionFactory.cs
- FormViewRow.cs
- ClientSideProviderDescription.cs
- XmlLanguage.cs
- GeneralTransform3D.cs
- AvTraceFormat.cs
- XhtmlBasicPanelAdapter.cs
- CodeAccessSecurityEngine.cs
- WindowShowOrOpenTracker.cs
- ProfileProvider.cs
- EntityClassGenerator.cs
- AddressAlreadyInUseException.cs
- GridViewDeletedEventArgs.cs
- ControlPropertyNameConverter.cs
- GridViewCancelEditEventArgs.cs
- EpmSyndicationContentDeSerializer.cs
- MeshGeometry3D.cs
- ScrollItemProviderWrapper.cs
- Transform.cs
- TargetParameterCountException.cs
- UpdateException.cs
- ParseChildrenAsPropertiesAttribute.cs
- ConstraintStruct.cs
- PagesChangedEventArgs.cs
- XmlQuerySequence.cs