X509Certificate2Collection.AddRange Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Adiciona vários X509Certificate2 objetos a um X509Certificate2Collection objeto.
Sobrecargas
| Nome | Description |
|---|---|
| AddRange(X509Certificate2[]) |
Adiciona vários X509Certificate2 objetos em uma matriz ao X509Certificate2Collection objeto. |
| AddRange(X509Certificate2Collection) |
Adiciona vários X509Certificate2 objetos em um X509Certificate2Collection objeto a outro X509Certificate2Collection objeto. |
AddRange(X509Certificate2[])
Adiciona vários X509Certificate2 objetos em uma matriz ao X509Certificate2Collection objeto.
public:
void AddRange(cli::array <System::Security::Cryptography::X509Certificates::X509Certificate2 ^> ^ certificates);
public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates);
override this.AddRange : System.Security.Cryptography.X509Certificates.X509Certificate2[] -> unit
Public Sub AddRange (certificates As X509Certificate2())
Parâmetros
- certificates
- X509Certificate2[]
Uma matriz de objetos X509Certificate2.
Exceções
certificates é null.
Comentários
Use esse método se você tiver uma matriz de X509Certificate2 objetos para adicionar a um X509Certificate2Collection objeto. O AddRange processo e RemoveRange os métodos são solicitados transacionalmente, de modo que, se uma única adição ou remoção falhar, toda a operação será anulada.
Aplica-se a
AddRange(X509Certificate2Collection)
Adiciona vários X509Certificate2 objetos em um X509Certificate2Collection objeto a outro X509Certificate2Collection objeto.
public:
void AddRange(System::Security::Cryptography::X509Certificates::X509Certificate2Collection ^ certificates);
public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates);
override this.AddRange : System.Security.Cryptography.X509Certificates.X509Certificate2Collection -> unit
Public Sub AddRange (certificates As X509Certificate2Collection)
Parâmetros
- certificates
- X509Certificate2Collection
Um X509Certificate2Collection objeto.
Exceções
certificates é null.
Comentários
Use esse método se você tiver certificados em um X509Certificate2Collection objeto que deseja adicionar a outro X509Certificate2Collection objeto. O AddRange processo e RemoveRange os métodos são solicitados transacionalmente, de modo que, se uma única adição ou remoção falhar, toda a operação será anulada.