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
。