OrderColumnCollection.CopyTo Method
Copies the collection objects to a one-dimensional Array instance, starting at the specified index.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As OrderColumn(), _
index As Integer _
)
'Usage
Dim instance As OrderColumnCollection
Dim array As OrderColumn()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
OrderColumn[] array,
int index
)
public:
void CopyTo(
array<OrderColumn^>^ array,
int index
)
member CopyTo :
array:OrderColumn[] *
index:int -> unit
public function CopyTo(
array : OrderColumn[],
index : int
)
Parameters
- array
Type: array<Microsoft.SqlServer.Management.Smo.OrderColumn[]
The destination array.
- index
Type: System.Int32
Where to begin the copy.