RegisteredServerCollection.CopyTo(Array, Int32) 方法

定義

從指定的索引值開始,將物件集合複製到一維陣列。

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

參數

array
Array

RegisteredServer 物件的陣列。

index
Int32

Int32 值,該值指定集合中複製起始位置的索引值。

實作

範例

使用集合

適用於