Share via


MeasureCollection.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 Measure(), _
    index As Integer _
)
'Usage
Dim instance As MeasureCollection
Dim array As Measure()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Measure[] array,
    int index
)
public:
void CopyTo(
    array<Measure^>^ array, 
    int index
)
member CopyTo : 
        array:Measure[] * 
        index:int -> unit 
public function CopyTo(
    array : Measure[], 
    index : int
)

Parameters

  • index
    Type: System.Int32
    The zero-based index at which to begin copying.