X509ChainElementCollection::Item Property (Int32)

 

Gets the X509ChainElement object at the specified index.

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

public:
property X509ChainElement^ default[
	int index
] {
	X509ChainElement^ get(int index);
}

Parameters

index
Type: System::Int32

An integer value.

Exception Condition
InvalidOperationException

index is less than zero.

ArgumentOutOfRangeException

index is greater than or equal to the length of the collection.

Use this method to access an X509ChainElement object in the collection.

.NET Framework
Available since 2.0
Return to top
Show: