X509ExtensionCollection::Item Property (String^)
.NET Framework (current version)
Gets the first X509Extension object whose value or friendly name is specified by an object identifier (OID).
Assembly: System (in System.dll)
public: property X509Extension^ default[ String^ oid ] { X509Extension^ get(String^ oid); }
Parameters
- oid
-
Type:
System::String^
The object identifier (OID) of the extension to retrieve.
Property Value
Type: System.Security.Cryptography.X509Certificates::X509Extension^An X509Extension object.
Use this property to get information about an X509Extension object when you know the object identifier (OID) of the extension in the X509ExtensionCollection object.
.NET Framework
Available since 2.0
Available since 2.0
Show: