DataKeyCollection Members

Represents a collection that contains the key field of each record in a data source. This class cannot be inherited.

The following tables list the members exposed by the DataKeyCollection type.

  Name Description
Public method DataKeyCollection Initializes a new instance of the DataKeyCollection class.
Top

  Name Description
Public property Count Gets the number of items in the collection.
Public property IsReadOnly Gets a value indicating whether items in the DataKeyCollection can be modified.
Public property IsSynchronized Gets a value indicating whether the DataKeyCollection is synchronized (thread-safe).
Public property Item Gets the key field at the specified index in the collection.
Public property SyncRoot Gets the object used to synchronize access to the DataKeyCollection.
Top

(see also Protected Methods )
  Name Description
Public method CopyTo Copies all the items from the DataKeyCollection to the specified System.Array object, starting at the specified index in the System.Array object.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEnumerator Creates a System.Collections.IEnumerator implemented object that contains all key fields in the DataKeyCollection.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show: