共用方式為


CopyTo 方法 (Hierarchy[], Int32)

Copies the elements of the collection to the specified array.

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Sub CopyTo ( _
    array As Hierarchy(), _
    index As Integer _
)
'用途
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
)

參數