Share via


CryptographicAttributeObjectCollection.CopyTo 方法

定義

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 中以零起始的索引,集合會被複製到此陣列。

例外狀況

提供給方法的其中一個引數無效。

null 已傳遞至不會將其接受 (Accept) 為有效引數的方法。

引數值超出呼叫方法所定義值的容許範圍。

適用於

另請參閱