X509CertificateCollection.AddRange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 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)
参数
包含要添加到集合的对象的 X509CertificateCollection。
例外
value
参数为 null
。