Share via


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

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

Parameters

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