Share via


HierarchyCollection.CopyTo Method (array<Hierarchy , 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 Hierarchy(), _
    index As Integer _
)
'Usage
Dim instance As HierarchyCollection 
Dim array As Hierarchy()
Dim index As Integer

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

Parameters

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

See Also

Reference

HierarchyCollection Class

CopyTo Overload

Microsoft.AnalysisServices.AdomdServer Namespace