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
- NavigationFailedEventArgs.cs
- ETagAttribute.cs
- COM2ExtendedUITypeEditor.cs
- MimeMapping.cs
- Tag.cs
- EmptyCollection.cs
- TransformPatternIdentifiers.cs
- StateMachineWorkflowDesigner.cs
- ChineseLunisolarCalendar.cs
- AudioException.cs
- TypeSystem.cs
- HttpCapabilitiesSectionHandler.cs
- MarkupCompilePass1.cs
- webproxy.cs
- BaseParagraph.cs
- RowVisual.cs
- ThreadNeutralSemaphore.cs
- NonVisualControlAttribute.cs
- EditorPart.cs
- TaiwanLunisolarCalendar.cs
- ContextConfiguration.cs
- ToolStripRendererSwitcher.cs
- CharUnicodeInfo.cs
- ContentPropertyAttribute.cs
- XmlBaseReader.cs
- CardSpaceShim.cs
- TextParagraph.cs
- LogAppendAsyncResult.cs
- SharedDp.cs
- DataServiceHost.cs
- ArgumentNullException.cs
- TextUtf8RawTextWriter.cs
- MarginsConverter.cs
- MSAAEventDispatcher.cs
- NamedPermissionSet.cs
- ValueSerializerAttribute.cs
- RetrieveVirtualItemEventArgs.cs
- DesignerAdRotatorAdapter.cs
- _WinHttpWebProxyDataBuilder.cs
- SamlDelegatingWriter.cs
- HttpResponseHeader.cs
- NativeMethods.cs
- FieldToken.cs
- SiteMapHierarchicalDataSourceView.cs
- XhtmlBasicObjectListAdapter.cs
- OLEDB_Enum.cs
- PackageStore.cs
- BuildProvider.cs
- ProcessThread.cs
- SpellerInterop.cs
- ToolStripPanelSelectionGlyph.cs
- PagerSettings.cs
- ForwardPositionQuery.cs
- WSSecurityPolicy.cs
- _ProxyRegBlob.cs
- CriticalHandle.cs
- LinqDataSourceValidationException.cs
- VirtualPathUtility.cs
- DeviceContext.cs
- SQLBinary.cs
- RegisteredExpandoAttribute.cs
- ButtonFieldBase.cs
- SettingsContext.cs
- SmiEventSink.cs
- _ListenerRequestStream.cs
- RangeValuePattern.cs
- XhtmlBasicPageAdapter.cs
- BasicDesignerLoader.cs
- TransactionProtocol.cs
- TransactedBatchingElement.cs
- TextRangeAdaptor.cs
- _AcceptOverlappedAsyncResult.cs
- SizeConverter.cs
- FormViewPagerRow.cs
- EmptyStringExpandableObjectConverter.cs
- Material.cs
- BaseTypeViewSchema.cs
- HttpCapabilitiesSectionHandler.cs
- XslCompiledTransform.cs
- DynamicControlParameter.cs
- BatchWriter.cs
- CardSpacePolicyElement.cs
- recordstatescratchpad.cs
- WpfXamlType.cs
- Window.cs
- EntityTypeEmitter.cs
- WebPartHelpVerb.cs
- OptimalBreakSession.cs
- ConfigXmlDocument.cs
- TraceFilter.cs
- TextServicesLoader.cs
- FontStyle.cs
- WebHttpSecurityModeHelper.cs
- odbcmetadatafactory.cs
- HtmlMeta.cs
- SQLInt16Storage.cs
- AttachedAnnotationChangedEventArgs.cs
- WebBrowserSiteBase.cs
- CompiledELinqQueryState.cs
- RowsCopiedEventArgs.cs