X509Certificate2Collection.RemoveRange Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Remove múltiplos X509Certificate2 objetos de um X509Certificate2Collection objeto.
Sobrecargas
| Name | Description |
|---|---|
| RemoveRange(X509Certificate2[]) |
Remove múltiplos X509Certificate2 objetos de um array de um X509Certificate2Collection objeto. |
| RemoveRange(X509Certificate2Collection) |
Remove múltiplos X509Certificate2 objetos de um X509Certificate2Collection objeto de outro X509Certificate2Collection objeto. |
RemoveRange(X509Certificate2[])
Remove múltiplos X509Certificate2 objetos de um array de um X509Certificate2Collection objeto.
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())
Parâmetros
- certificates
- X509Certificate2[]
Uma variedade de X509Certificate2 objetos.
Exceções
certificates é null.
Observações
Use este método se tiver um array de X509Certificate2 objetos para remover de um X509Certificate2Collection objeto. Os AddRange métodos and RemoveRange processam os pedidos transacionalmente, de modo que, se uma única adição ou remoção falhar, toda a operação é abortada.
Aplica-se a
RemoveRange(X509Certificate2Collection)
Remove múltiplos X509Certificate2 objetos de um X509Certificate2Collection objeto de outro X509Certificate2Collection objeto.
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)
Parâmetros
- certificates
- X509Certificate2Collection
Um X509Certificate2Collection objeto.
Exceções
certificates é null.
Observações
Use este método se tiver certificados num X509Certificate2Collection objeto que queira remover de outro X509Certificate2Collection objeto. Os AddRange métodos and RemoveRange processam os pedidos transacionalmente, de modo que, se uma única adição ou remoção falhar, toda a operação é abortada.