Edit

Share via


X500RelativeDistinguishedName.GetSingleElementType Method

Definition

Gets the object identifier (OID) identifying the single attribute value for this Relative Distinguished Name (RDN), when the RDN only contains one attribute.

public:
 System::Security::Cryptography::Oid ^ GetSingleElementType();
public System.Security.Cryptography.Oid GetSingleElementType ();
member this.GetSingleElementType : unit -> System.Security.Cryptography.Oid
Public Function GetSingleElementType () As Oid

Returns

Oid

The object identifier (OID) identifying the single attribute value for this Relative Distinguished Name (RDN).

Exceptions

The Relative Distinguished Name has multiple attributes (HasMultipleElements is true).

Applies to