X500DistinguishedNameBuilder.AddLocalityName(String) Method

Definition

Adds a locality name attribute.

public:
 void AddLocalityName(System::String ^ localityName);
public void AddLocalityName (string localityName);
member this.AddLocalityName : string -> unit
Public Sub AddLocalityName (localityName As String)

Parameters

localityName
String

The locality name to add.

Exceptions

localityName is null.

localityName is empty.

Remarks

This encodes an attribute with the OID 2.5.4.7 as a UTF8String.

Applies to