X509Certificate2Collection.RemoveRange メソッド

定義

X509Certificate2 オブジェクトから複数の X509Certificate2Collection オブジェクトを削除します。

オーバーロード

RemoveRange(X509Certificate2[])

配列内の複数の X509Certificate2 オブジェクトを X509Certificate2Collection オブジェクトから削除します。

RemoveRange(X509Certificate2Collection)

X509Certificate2 オブジェクト内の複数の X509Certificate2Collection オブジェクトを別の X509Certificate2Collection オブジェクトから削除します。

RemoveRange(X509Certificate2[])

配列内の複数の X509Certificate2 オブジェクトを X509Certificate2Collection オブジェクトから削除します。

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

パラメーター

certificates
X509Certificate2[]

X509Certificate2 オブジェクトの配列。

例外

certificatesnullです。

注釈

オブジェクトから削除するオブジェクトの X509Certificate2 配列がある場合は、このメソッドを X509Certificate2Collection 使用します。 メソッドとRemoveRangeメソッドはAddRangeトランザクション的に要求を処理するため、1 つの追加または削除が失敗した場合、操作全体が中止されます。

適用対象

RemoveRange(X509Certificate2Collection)

X509Certificate2 オブジェクト内の複数の X509Certificate2Collection オブジェクトを別の X509Certificate2Collection オブジェクトから削除します。

public:
 void RemoveRange(System::Security::Cryptography::X509Certificates::X509Certificate2Collection ^ certificates);
public void RemoveRange (System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates);
member this.RemoveRange : System.Security.Cryptography.X509Certificates.X509Certificate2Collection -> unit
Public Sub RemoveRange (certificates As X509Certificate2Collection)

パラメーター

certificates
X509Certificate2Collection

X509Certificate2Collection オブジェクト。

例外

certificatesnullです。

注釈

X509Certificate2Collectionのオブジェクトから削除するオブジェクトにX509Certificate2Collection証明書がある場合は、このメソッドを使用します。 メソッドとRemoveRangeメソッドはAddRangeトランザクション的に要求を処理するため、1 つの追加または削除が失敗した場合、操作全体が中止されます。

適用対象