X500DistinguishedName.EnumerateRelativeDistinguishedNames(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.