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

定義

從指定的索引處開始,將 X509ChainElementCollection 物件複製到陣列中。

 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

要將 X509ChainElementCollection 物件複製到其中的陣列。

index
Int32

要從其開始複製的 array 索引。

實作

例外狀況

指定的index 小於零,或是大於或等於陣列長度。

arraynull

index 與目前計數的和大於陣列長度。

適用於