ColumnCollection.CopyTo Method (Column[], Int32)

 

Copies the collection objects to a one-dimensional array beginning at the index value specified.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void CopyTo(
	Column[] array,
	int index
)

Parameters

array
Type: Microsoft.SqlServer.Management.Smo.Column[]

An array of Column objects.

index
Type: System.Int32

An Int32 value that specifies the index value from where to start the copy.

Return to top
Show: