Edit

Share via


X500DistinguishedName.EnumerateRelativeDistinguishedNames(Boolean) Method

Definition

Iterates over the RelativeDistinguishedName values within this distinguished name value.

public System.Collections.Generic.IEnumerable<System.Security.Cryptography.X509Certificates.X500RelativeDistinguishedName> EnumerateRelativeDistinguishedNames (bool reversed = true);
member this.EnumerateRelativeDistinguishedNames : bool -> seq<System.Security.Cryptography.X509Certificates.X500RelativeDistinguishedName>
Public Function EnumerateRelativeDistinguishedNames (Optional reversed As Boolean = true) As IEnumerable(Of X500RelativeDistinguishedName)

Parameters

reversed
Boolean

true to enumerate in the order used by Name; false to enumerate in the declared order.

Returns

An enumerator that iterates over the relative distinguished names in the X.500 Distinguished Name.

Exceptions

The X.500 Name is not a proper DER-encoded X.500 Name value.

Applies to