X509ChainElementCollection.CopyTo(X509ChainElement[], Int32) Método
Definição
Copia um objeto X509ChainElementCollection em uma matriz, começando no índice especificado.Copies an X509ChainElementCollection object into an array, starting at the specified index.
public:
void CopyTo(cli::array <System::Security::Cryptography::X509Certificates::X509ChainElement ^> ^ array, int index);
public void CopyTo (System.Security.Cryptography.X509Certificates.X509ChainElement[] array, int index);
member this.CopyTo : System.Security.Cryptography.X509Certificates.X509ChainElement[] * int -> unit
Public Sub CopyTo (array As X509ChainElement(), index As Integer)
Parâmetros
- array
- X509ChainElement[]
Uma matriz de objetos de X509ChainElement.An array of X509ChainElement objects.
- index
- Int32
Um inteiro que representa o valor de índice.An integer representing the index value.
Exceções
O index especificado é menor que zero, ou maior ou igual ao comprimento da matriz.The specified index is less than zero, or greater than or equal to the length of the array.
array é null.array is null.
index mais a contagem atual é maior que o comprimento da matriz.index plus the current count is greater than the length of the array.