CryptographicAttributeObjectCollection.CopyTo メソッド

定義

CryptographicAttributeObjectCollection コレクションをCryptographicAttributeObject オブジェクトの配列にコピーします。

public:
 void CopyTo(cli::array <System::Security::Cryptography::CryptographicAttributeObject ^> ^ array, int index);
public void CopyTo(System.Security.Cryptography.CryptographicAttributeObject[] array, int index);
member this.CopyTo : System.Security.Cryptography.CryptographicAttributeObject[] * int -> unit
Public Sub CopyTo (array As CryptographicAttributeObject(), index As Integer)

パラメーター

array
CryptographicAttributeObject[]

コレクションのコピー先 CryptographicAttributeObject オブジェクトの配列。

index
Int32

コレクションのコピー先となる array の 0 から始まるインデックス。

例外

メソッドに指定された引数の 1 つが無効でした。

null は、有効な引数として受け入れられないメソッドに渡されました。

引数の値が、呼び出されたメソッドによって定義されている値の許容範囲外でした。

適用対象

こちらもご覧ください