Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / DataKeyCollection.cs / 1305376 / DataKeyCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; ////// public sealed class DataKeyCollection : ICollection { private ArrayList keys; ////// public DataKeyCollection(ArrayList keys) { this.keys = keys; } ///Initializes a new instance of the ///class. /// public int Count { get { return keys.Count; } } ///Gets the number of objects in the collection. This property is read-only. ////// public bool IsReadOnly { get { return false; } } ///Gets the value that specifies whether items 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 object this[int index] { get { return keys[index]; } } ///Gets a ///at the specified index in the collection. This property is read-only. /// public void CopyTo(Array array, int index) { for (IEnumerator e = this.GetEnumerator(); e.MoveNext();) array.SetValue(e.Current, index++); } ///Copies the contents of the entire collection into an ///appending at /// the specified index of the . /// public IEnumerator GetEnumerator() { return keys.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
- Bits.cs
- QueuePathEditor.cs
- WebScriptClientGenerator.cs
- SerialReceived.cs
- OdbcFactory.cs
- QilFactory.cs
- BamlRecordHelper.cs
- CapacityStreamGeometryContext.cs
- HtmlElementErrorEventArgs.cs
- ComponentConverter.cs
- BaseCAMarshaler.cs
- AutoFocusStyle.xaml.cs
- lengthconverter.cs
- EventSetter.cs
- SessionEndingCancelEventArgs.cs
- ContentElement.cs
- InfoCardKeyedHashAlgorithm.cs
- AppDomainUnloadedException.cs
- Set.cs
- HttpsHostedTransportConfiguration.cs
- MouseCaptureWithinProperty.cs
- GridErrorDlg.cs
- CngProvider.cs
- base64Transforms.cs
- Baml2006ReaderContext.cs
- MimePart.cs
- PointAnimationUsingPath.cs
- ZipIOLocalFileBlock.cs
- UriTemplateClientFormatter.cs
- ByeOperationAsyncResult.cs
- WebPartConnection.cs
- JsonFormatReaderGenerator.cs
- XpsThumbnail.cs
- ObjectSerializerFactory.cs
- MobileControlDesigner.cs
- EntityException.cs
- DeadCharTextComposition.cs
- OutOfProcStateClientManager.cs
- PointCollection.cs
- ScriptServiceAttribute.cs
- StorageAssociationSetMapping.cs
- TableDetailsCollection.cs
- BindingOperations.cs
- ContentHostHelper.cs
- XmlStringTable.cs
- DefaultConfirmation.cs
- RuntimeConfigurationRecord.cs
- QilReference.cs
- LiteralControl.cs
- WebBrowser.cs
- HwndMouseInputProvider.cs
- DefaultValueAttribute.cs
- TextBoxLine.cs
- IImplicitResourceProvider.cs
- MenuAdapter.cs
- ResourcePermissionBase.cs
- FindCriteriaCD1.cs
- ComponentGuaranteesAttribute.cs
- WorkflowDebuggerSteppingAttribute.cs
- AsnEncodedData.cs
- SendKeys.cs
- ByteStream.cs
- PointAnimationClockResource.cs
- UIElement.cs
- Utils.cs
- SizeConverter.cs
- ResourceContainer.cs
- TextShapeableCharacters.cs
- DbConnectionClosed.cs
- HtmlSelectionListAdapter.cs
- DataGridViewTextBoxColumn.cs
- QueryableFilterRepeater.cs
- UpdatePanelTrigger.cs
- ActiveXSite.cs
- TypeListConverter.cs
- X509KeyIdentifierClauseType.cs
- DllNotFoundException.cs
- ColorComboBox.cs
- Visual.cs
- IdentitySection.cs
- BufferBuilder.cs
- ImportDesigner.xaml.cs
- SEHException.cs
- ReturnValue.cs
- ToolStripSplitStackLayout.cs
- _SingleItemRequestCache.cs
- IntSecurity.cs
- ObjectContextServiceProvider.cs
- TextTreeUndo.cs
- MaskedTextProvider.cs
- PrimitiveSchema.cs
- ThousandthOfEmRealPoints.cs
- BasicViewGenerator.cs
- NotImplementedException.cs
- WhiteSpaceTrimStringConverter.cs
- CachedPathData.cs
- ComplusTypeValidator.cs
- ToolboxItemAttribute.cs
- RequestCacheManager.cs
- SqlUnionizer.cs