共用方式為


CopyTo 方法 (Array, Int32)

Copies the elements of the collection to the specified array.

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

語法

'宣告
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'用途
Dim instance As DimensionCollection
Dim array As Array
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Array array,
    int index
)
public:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed
abstract CopyTo : 
        array:Array * 
        index:int -> unit 
override CopyTo : 
        array:Array * 
        index:int -> unit 
public final function CopyTo(
    array : Array, 
    index : int
)

參數

  • array
    型別:System. . :: . .Array
    An instance of a one-dimensional Array in which to copy the elements of the collection. The Array must have zero-based indexing.

實作

ICollection. . :: . .CopyTo(Array, Int32)