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.

X509ExtensionCollection::Item Property (Int32)

 

Gets the X509Extension object at the specified index.

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

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

Parameters

index
Type: System::Int32

The location of the X509Extension object to retrieve.

Exception Condition
InvalidOperationException

index is less than zero.

ArgumentOutOfRangeException

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

Use this property to get information about an X509Extension object when you know the location of the object in the X509ExtensionCollection object.

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