Sdílet prostřednictvím


X509CertificateCollection.IndexOf(X509Certificate) Metoda

Definice

Vrátí index zadaného X509Certificate v aktuálním X509CertificateCollectionobjektu .

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

Parametry

value
X509Certificate

Vyhledá X509Certificate se.

Návraty

Index zadaného X509Certificate parametrem value v X509CertificateCollection, pokud je nalezen; jinak -1.

Platí pro

Viz také