DataKeyCollection.CopyTo Method (Array, Int32)
.NET Framework (current version)
Copies all the items from the DataKeyCollection to the specified System.Array object, starting at the specified index in the System.Array object.
Assembly: System.Web (in System.Web.dll)
abstract CopyTo : array:Array * index:int -> unit override CopyTo : array:Array * index:int -> unit
Parameters
- array
-
Type:
System.Array
A zero-based System.Array object that receives the copied items from the DataKeyCollection.
- index
-
Type:
System.Int32
The first position in the specified System.Array object to receive the copied contents.
Implements
ICollection.CopyTo(Array, Int32)Use this method to copy the contents of the DataKeyCollection into the specified System.Array object, starting at the specified index.
Note |
|---|
The array parameter must be a zero-based System.Array object. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
