Export (0) Print
Expand All

X509CertificateCollection.IndexOf Method

Returns the index of the specified X509Certificate in the current X509CertificateCollection.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System (in System.dll)

public int IndexOf(
	X509Certificate value

Return Value

Type: System.Int32
The index of the X509Certificate specified by the value parameter in the X509CertificateCollection, if found; otherwise, -1.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft