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

另请参阅

适用于