語言

RecipientInfoCollection.CopyTo 方法

定義

該 CopyTo 方法將 RecipientInfoCollection 集合複製到陣列。

多載

名稱 Description
CopyTo(Array, Int32)

該 CopyTo(Array, Int32) 方法將 RecipientInfoCollection 集合複製到陣列。

CopyTo(RecipientInfo[], Int32)

此 CopyTo(RecipientInfo[], Int32) 方法將 RecipientInfoCollection 集合複製到陣 RecipientInfo 列中。

CopyTo(Array, Int32)

來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs

該 CopyTo(Array, Int32) 方法將 RecipientInfoCollection 集合複製到陣列。

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo(Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

參數

array
Array

一個 Array 收藏品要複製的 RecipientInfoCollection 對象。

index
Int32

集合被複製的零基索引arrayRecipientInfoCollection。

實作

例外狀況

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

一個空引用被傳遞給一個不接受該參數為有效參數的方法。

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

適用於

CopyTo(RecipientInfo[], Int32)

來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs
來源:
RecipientInfoCollection.cs

此 CopyTo(RecipientInfo[], Int32) 方法將 RecipientInfoCollection 集合複製到陣 RecipientInfo 列中。

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

參數

array
RecipientInfo[]

一個物件陣列 RecipientInfo ,集合 RecipientInfoCollection 要被複製。

index
Int32

集合被複製的零基索引arrayRecipientInfoCollection。

例外狀況

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

一個空引用被傳遞給一個不接受該參數為有效參數的方法。

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

適用於