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)
.NET Framework (current version)
Gets the X509Extension object at the specified index.
Assembly: System (in System.dll)
Parameters
- index
-
Type:
System::Int32
The location of the X509Extension object to retrieve.
Property Value
Type: System.Security.Cryptography.X509Certificates::X509Extension^An X509Extension object.
| 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
Available since 2.0
Show: