Επεξεργασία

Κοινή χρήση μέσω


X500DistinguishedNameBuilder.AddStateOrProvinceName(String) Method

Definition

Adds a state or province name attribute.

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

Parameters

stateOrProvinceName
String

The state or province name to add.

Exceptions

stateOrProvinceName is null.

stateOrProvinceName is empty.

Remarks

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

Applies to