Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

X509CertificateCollection::IndexOf Method (X509Certificate^)

 

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
Available since 1.1
Return to top
Show:
© 2017 Microsoft