Compartir vía


X509CertificateCollection.IndexOf(X509Certificate) Método

Definición

Devuelve el índice del X509Certificate especificado en la X509CertificateCollection actual.

public:
 int IndexOf(System::Security::Cryptography::X509Certificates::X509Certificate ^ value);
public int IndexOf (System.Security.Cryptography.X509Certificates.X509Certificate value);
member this.IndexOf : System.Security.Cryptography.X509Certificates.X509Certificate -> int
Public Function IndexOf (value As X509Certificate) As Integer

Parámetros

value
X509Certificate

Clase X509Certificate que se va a localizar.

Devoluciones

Int32

Índice del X509Certificate especificado por el parámetro value en la X509CertificateCollection, si se encuentra; en caso contrario, -1.

Se aplica a

Consulte también