Udostępnij za pośrednictwem


X509CertificateCollection.IndexOf(X509Certificate) Metoda

Definicja

Zwraca indeks określonego X509Certificate w bieżącym X509CertificateCollectionelemencie .

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

Element X509Certificate do zlokalizowania.

Zwraca

Int32

Indeks X509Certificate określony przez value parametr w parametrze X509CertificateCollection, jeśli zostanie znaleziony; w przeciwnym razie -1.

Dotyczy

Zobacz też