DataKeyCollection Members
.NET Framework 2.0
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 | |
|---|---|---|
| Count | Gets the number of items in the collection. |
| IsReadOnly | Gets a value indicating whether items in the DataKeyCollection can be modified. |
| IsSynchronized | Gets a value indicating whether the DataKeyCollection is synchronized (thread-safe). |
| Item | Gets the key field at the specified index in the collection. |
| SyncRoot | Gets the object used to synchronize access to the DataKeyCollection. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| CopyTo | Copies all the items from the DataKeyCollection to the specified System.Array object, starting at the specified index in the System.Array object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetEnumerator | Creates a System.Collections.IEnumerator implemented object that contains all key fields in the DataKeyCollection. |
| 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.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| 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.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Community Additions
ADD
Show: