PositionCollection.CopyTo Method
Copies the elements of the collection to the specified Array.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As Position(), _
index As Integer _
)
'Usage
Dim instance As PositionCollection
Dim array As Position()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
Position[] array,
int index
)
public:
void CopyTo(
array<Position^>^ array,
int index
)
member CopyTo :
array:Position[] *
index:int -> unit
public function CopyTo(
array : Position[],
index : int
)
Parameters
- array
Type: array<Microsoft.AnalysisServices.AdomdClient.Position[]
An instance of a one-dimensional Array in which to copy the elements of the collection. The Array must have zero-based indexing.
- index
Type: System.Int32
The zero-based index at which to begin copying.