Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewRowCollection.cs / 1305376 / DetailsViewRowCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; ////// public class DetailsViewRowCollection : ICollection { private ArrayList _rows; ///Represents the collection of ///objects. /// public DetailsViewRowCollection(ArrayList rows) { this._rows = rows; } ///Initializes a new instance of the ///class. /// public int Count { get { return _rows.Count; } } ///Gets the number of rows in the collection. This property is read-only. ////// public bool IsReadOnly { get { return false; } } ///Gets a value that specifies whether rows in the ///can be /// modified. This property is read-only. /// public bool IsSynchronized { get { return false; } } ///Gets a value that indicates whether the ///is /// thread-safe. This property is read-only. /// public object SyncRoot { get { return this; } } ///Gets the object used to synchronize access to the collection. This property is read-only. ////// public DetailsViewRow this[int index] { get { return(DetailsViewRow)_rows[index]; } } ///Gets a ///at the specified index in the /// collection. /// public void CopyTo(DetailsViewRow[] array, int index) { ((ICollection)this).CopyTo(array, index); } ///Copies the contents of the entire collection into an ///appending /// at the specified index of the . void ICollection.CopyTo(Array array, int index) { for (IEnumerator e = this.GetEnumerator(); e.MoveNext();) array.SetValue(e.Current, index++); } /// /// public IEnumerator GetEnumerator() { return _rows.GetEnumerator(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Creates an enumerator for the ///used to /// iterate through the collection.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- COM2Properties.cs
- DataPagerFieldItem.cs
- RequestQueue.cs
- FontFamilyConverter.cs
- UniqueEventHelper.cs
- CssClassPropertyAttribute.cs
- ChameleonKey.cs
- ButtonColumn.cs
- SystemParameters.cs
- DataSpaceManager.cs
- FixedPosition.cs
- FramingEncoders.cs
- ParameterCollection.cs
- X509AsymmetricSecurityKey.cs
- TypeToTreeConverter.cs
- HtmlTitle.cs
- VectorAnimationBase.cs
- MimeFormReflector.cs
- XmlLoader.cs
- ControllableStoryboardAction.cs
- DetailsView.cs
- HttpCacheVaryByContentEncodings.cs
- IteratorDescriptor.cs
- DiagnosticTraceSchemas.cs
- DbProviderManifest.cs
- SafeProcessHandle.cs
- TableItemStyle.cs
- Attributes.cs
- GotoExpression.cs
- BasicBrowserDialog.designer.cs
- HwndTarget.cs
- CodeTypeParameter.cs
- SamlConditions.cs
- EncryptedData.cs
- GZipStream.cs
- InvokeGenerator.cs
- FigureParaClient.cs
- MethodBuilderInstantiation.cs
- Rect.cs
- ToolStripSystemRenderer.cs
- SqlUdtInfo.cs
- SignatureConfirmationElement.cs
- FixedSOMPage.cs
- PrimaryKeyTypeConverter.cs
- StoreAnnotationsMap.cs
- BitmapEffectInput.cs
- assemblycache.cs
- MessageEventSubscriptionService.cs
- SoundPlayer.cs
- ProxyGenerationError.cs
- ColumnClickEvent.cs
- TextWriter.cs
- Pair.cs
- Hyperlink.cs
- GroupPartitionExpr.cs
- cookieexception.cs
- OptionalRstParameters.cs
- CounterCreationDataCollection.cs
- WSDualHttpSecurity.cs
- OleDbErrorCollection.cs
- ButtonField.cs
- XmlQueryContext.cs
- CompModSwitches.cs
- RolePrincipal.cs
- DirectoryInfo.cs
- CodeGroup.cs
- DataContractSet.cs
- WriteStateInfoBase.cs
- RequestDescription.cs
- ValidationHelpers.cs
- ApplicationGesture.cs
- ResourceReader.cs
- SettingsBindableAttribute.cs
- WindowCollection.cs
- CompositeFontParser.cs
- WebPartMenu.cs
- XhtmlTextWriter.cs
- ToolstripProfessionalRenderer.cs
- BamlMapTable.cs
- WSSecureConversationDec2005.cs
- FtpWebResponse.cs
- AsmxEndpointPickerExtension.cs
- ShaderRenderModeValidation.cs
- TextBox.cs
- PartialCachingControl.cs
- SerialErrors.cs
- XsdBuildProvider.cs
- MachineKeyValidationConverter.cs
- WebPartCatalogCloseVerb.cs
- DeflateStream.cs
- XmlSubtreeReader.cs
- SelectorItemAutomationPeer.cs
- SecureConversationDriver.cs
- EntityReference.cs
- MethodImplAttribute.cs
- WindowsGraphics2.cs
- MissingMethodException.cs
- LogFlushAsyncResult.cs
- AmbientProperties.cs
- CryptoApi.cs