共用方式為


X509CertificateCollection.AddRange 方法

定義

X509Certificate 類型陣列的項目複製到目前的 X509CertificateCollection

多載

AddRange(X509Certificate[])

X509Certificate 類型的陣列項目複製到目前 X509CertificateCollection 的結尾。

AddRange(X509CertificateCollection)

將所指定 X509CertificateCollection 的項目複製到目前 X509CertificateCollection 的結尾。

AddRange(X509Certificate[])

X509Certificate 類型的陣列項目複製到目前 X509CertificateCollection 的結尾。

public:
 void AddRange(cli::array <System::Security::Cryptography::X509Certificates::X509Certificate ^> ^ value);
public void AddRange (System.Security.Cryptography.X509Certificates.X509Certificate[] value);
member this.AddRange : System.Security.Cryptography.X509Certificates.X509Certificate[] -> unit
Public Sub AddRange (value As X509Certificate())

參數

value
X509Certificate[]

X509Certificate 類型的陣列,其中包含要加入目前 X509CertificateCollection 的物件。

例外狀況

value 參數為 null

另請參閱

適用於

AddRange(X509CertificateCollection)

將所指定 X509CertificateCollection 的項目複製到目前 X509CertificateCollection 的結尾。

public:
 void AddRange(System::Security::Cryptography::X509Certificates::X509CertificateCollection ^ value);
public void AddRange (System.Security.Cryptography.X509Certificates.X509CertificateCollection value);
member this.AddRange : System.Security.Cryptography.X509Certificates.X509CertificateCollection -> unit
Public Sub AddRange (value As X509CertificateCollection)

參數

value
X509CertificateCollection

X509CertificateCollection 包含要加入該集合的物件。

例外狀況

value 參數為 null

另請參閱

適用於