X500DistinguishedNameBuilder.AddLocalityName(String) 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.
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.