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
- TreeWalkHelper.cs
- MonitorWrapper.cs
- ServiceDocument.cs
- Matrix.cs
- OleDbStruct.cs
- Translator.cs
- ErrorWrapper.cs
- ActivityValidator.cs
- XmlSchemaSimpleType.cs
- Matrix3DStack.cs
- QueryPageSettingsEventArgs.cs
- AutomationFocusChangedEventArgs.cs
- columnmapfactory.cs
- OdbcConnection.cs
- TileBrush.cs
- InvalidDataContractException.cs
- Listener.cs
- SubMenuStyleCollection.cs
- SelectedGridItemChangedEvent.cs
- CorrelationExtension.cs
- ClonableStack.cs
- CapiSymmetricAlgorithm.cs
- MediaCommands.cs
- SqlErrorCollection.cs
- AudioDeviceOut.cs
- RadioButtonPopupAdapter.cs
- SQLInt16.cs
- Visitors.cs
- DCSafeHandle.cs
- WriteableBitmap.cs
- ReadOnlyTernaryTree.cs
- IndexedSelectQueryOperator.cs
- QueryOutputWriter.cs
- NameTable.cs
- TemplatedAdorner.cs
- SafeEventLogWriteHandle.cs
- EventMappingSettingsCollection.cs
- ProfileGroupSettingsCollection.cs
- EventProviderWriter.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- StreamWriter.cs
- SerializationFieldInfo.cs
- DesignTimeHTMLTextWriter.cs
- InputDevice.cs
- ClientScriptManager.cs
- WebPartCatalogCloseVerb.cs
- ExpressionDumper.cs
- SQLInt16Storage.cs
- SmiSettersStream.cs
- CodeCatchClause.cs
- PackageProperties.cs
- HttpCacheVary.cs
- DynamicUpdateCommand.cs
- SqlRetyper.cs
- BitmapEffectGeneralTransform.cs
- ListViewItem.cs
- DynamicField.cs
- DesignerDeviceConfig.cs
- SqlConnectionPoolProviderInfo.cs
- SqlCacheDependencySection.cs
- XmlFormatReaderGenerator.cs
- RenderContext.cs
- PasswordBoxAutomationPeer.cs
- DayRenderEvent.cs
- GlyphRunDrawing.cs
- EarlyBoundInfo.cs
- PageParser.cs
- SecurityAccessDeniedException.cs
- SearchForVirtualItemEventArgs.cs
- XmlBoundElement.cs
- WebBrowserEvent.cs
- DelayDesigner.cs
- AttributeData.cs
- Property.cs
- DataGridPageChangedEventArgs.cs
- XhtmlBasicLabelAdapter.cs
- BamlResourceDeserializer.cs
- EdmItemError.cs
- Console.cs
- ToolboxItemSnapLineBehavior.cs
- CompositeKey.cs
- PageCodeDomTreeGenerator.cs
- ReliableOutputSessionChannel.cs
- EntityDataSourceEntityTypeFilterItem.cs
- PipeException.cs
- AttributeQuery.cs
- CustomTypeDescriptor.cs
- SmtpReplyReader.cs
- SafeNativeMethodsCLR.cs
- ImageFormatConverter.cs
- TemplateBindingExpression.cs
- UIntPtr.cs
- ChannelBinding.cs
- PropertyTab.cs
- EventLogInformation.cs
- DSASignatureFormatter.cs
- ProtocolsSection.cs
- _IPv6Address.cs
- DriveNotFoundException.cs
- DataSourceSelectArguments.cs