共用方式為


CopyTo 方法

Copies the elements of the collection to the specified array.

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

語法

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

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

參數