語言

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 。

例外狀況

其中一個方法所提供的參數是無效的。

null 被傳遞給一個不接受該參數的方法。

參數的值超出被呼叫方法定義的允許值範圍。

適用於

另請參閱