Share via


CubeCollection.CopyTo Method (array<CubeDef[], Int32)

Copies the elements of the collection to the specified array.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As CubeDef(), _
    index As Integer _
)
'Usage
Dim instance As CubeCollection
Dim array As CubeDef()
Dim index As Integer

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

Parameters

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