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
- array
Type: array<Microsoft.AnalysisServices.AdomdServer.Hierarchy[]
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: Int32
The zero-based index at which to begin copying.