This documentation is archived and is not being maintained.
DataKeyCollection Members
Visual Studio 2008
Represents a collection that contains the key field of each record in a data source. This class cannot be inherited.
The DataKeyCollection type exposes the following members.
| 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 | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| 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. |
Show: