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
)
參數
- array
型別:array<Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdError> [] () [] []
An instance of a one-dimensional Array class in which to copy the elements of the collection. The Array must have zero-based indexing.
- index
型別:System. . :: . .Int32
The zero-based index at which to begin copying.