X509CertificateCollection::Item Property (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: