System.Security.Cryptography.X509Certificates.X509CertificateCollection.IndexOf Method

Returns the index of the specified System.Security.Cryptography.X509Certificates.X509Certificate in the current System.Security.Cryptography.X509Certificates.X509CertificateCollection.

Syntax

public int IndexOf (X509Certificate value)

Parameters

value
The System.Security.Cryptography.X509Certificates.X509Certificate to locate.

Returns

The index of the System.Security.Cryptography.X509Certificates.X509Certificate specified by the value parameter in the System.Security.Cryptography.X509Certificates.X509CertificateCollection, if found; otherwise, -1.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0