X509ExtensionCollection.ICollection.CopyTo(Array, Int32) 方法

定義

從指定的索引處開始,將集合複製到陣列中。

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo

參數

array
Array

X509Extension 物件的陣列。

index
Int32

在陣列中開始複製的位置。

實作

例外狀況

index 是長度為零的字串或包含無效值。

indexnull

index 指定的值不在陣列範圍中。

適用於