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
- WebPartPersonalization.cs
- TemplateXamlParser.cs
- TypeContext.cs
- SQLStringStorage.cs
- VirtualDirectoryMappingCollection.cs
- SqlConnectionPoolProviderInfo.cs
- RadioButtonRenderer.cs
- RegexInterpreter.cs
- IgnoreSection.cs
- ConnectionPoolManager.cs
- WeakEventTable.cs
- GroupBoxAutomationPeer.cs
- ConfigPathUtility.cs
- TdsParserSessionPool.cs
- RTTrackingProfile.cs
- ConstraintConverter.cs
- CodeDefaultValueExpression.cs
- TimersDescriptionAttribute.cs
- XmlAnyElementAttribute.cs
- DataGridViewIntLinkedList.cs
- ExtenderProvidedPropertyAttribute.cs
- WebPartTransformerAttribute.cs
- ThousandthOfEmRealPoints.cs
- DataListItemEventArgs.cs
- StaticSiteMapProvider.cs
- Button.cs
- cookie.cs
- XmlUTF8TextReader.cs
- RoleService.cs
- AsyncOperation.cs
- SignatureSummaryDialog.cs
- TableCellCollection.cs
- ClosableStream.cs
- Rect3D.cs
- JoinSymbol.cs
- LinkTarget.cs
- XamlTypeMapperSchemaContext.cs
- XsdDuration.cs
- ListItemParagraph.cs
- DBSqlParserColumnCollection.cs
- MetadataCacheItem.cs
- TrustManagerMoreInformation.cs
- SqlException.cs
- EntityAdapter.cs
- ProfileModule.cs
- CharacterMetricsDictionary.cs
- EntityConnectionStringBuilder.cs
- GraphicsContainer.cs
- TypeBuilder.cs
- HwndSourceKeyboardInputSite.cs
- Rectangle.cs
- WebContext.cs
- NameValueFileSectionHandler.cs
- XPathNodePointer.cs
- CssStyleCollection.cs
- EventLogTraceListener.cs
- TypeUsageBuilder.cs
- SemanticAnalyzer.cs
- TypeDescriptor.cs
- WindowsSpinner.cs
- PEFileEvidenceFactory.cs
- NetworkCredential.cs
- ConfigurationSectionGroup.cs
- ObjectTypeMapping.cs
- Popup.cs
- HighlightVisual.cs
- DataTableCollection.cs
- SerializerWriterEventHandlers.cs
- ThicknessAnimationBase.cs
- UiaCoreTypesApi.cs
- X509KeyIdentifierClauseType.cs
- ComponentManagerBroker.cs
- FreeFormDragDropManager.cs
- ServiceModelExtensionElement.cs
- AndMessageFilter.cs
- XmlObjectSerializerReadContextComplex.cs
- WCFServiceClientProxyGenerator.cs
- ADConnectionHelper.cs
- WindowsClaimSet.cs
- WpfPayload.cs
- keycontainerpermission.cs
- ProxyBuilder.cs
- MatrixConverter.cs
- MembershipSection.cs
- EnvelopedSignatureTransform.cs
- DocumentPageView.cs
- XmlQueryRuntime.cs
- AspCompat.cs
- Lease.cs
- QilXmlReader.cs
- DesignerVerbCollection.cs
- WmlPhoneCallAdapter.cs
- DataGridViewTopRowAccessibleObject.cs
- ActivityInfo.cs
- ElementUtil.cs
- AsymmetricSignatureDeformatter.cs
- FormatSettings.cs
- MemberHolder.cs
- Range.cs
- HttpListenerException.cs