CryptographicAttributeObjectCollection.CopyTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將集合複製 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 被傳遞給一個不接受該參數的方法。
參數的值超出被呼叫方法定義的允許值範圍。