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::Item Property (Int32)

 

Gets or sets the entry at the specified index of the current X509CertificateCollection.

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

public:
property X509Certificate^ default[
	int index
] {
	X509Certificate^ get(int index);
	void set(int index, X509Certificate^ value);
}

Parameters

index
Type: System::Int32

The zero-based index of the entry to locate in the current X509CertificateCollection.

Exception Condition
ArgumentOutOfRangeException

The index parameter is outside the valid range of indexes for the collection.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft