Επεξεργασία

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


CultureAndRegionInfoBuilder.ThreeLetterWindowsRegionName Property

Definition

Gets or sets the three-letter code assigned by Windows to the country/region represented by the current custom culture.

public:
 property System::String ^ ThreeLetterWindowsRegionName { System::String ^ get(); void set(System::String ^ value); };
public string ThreeLetterWindowsRegionName { get; set; }
member this.ThreeLetterWindowsRegionName : string with get, set
Public Property ThreeLetterWindowsRegionName As String

Property Value

The three-letter code assigned by Windows to the country/region represented by this CultureAndRegionInfoBuilder object.

Exceptions

The value in a set operation is null.

The length of the value in a set operation does not range from 1 to 8 characters.

The value in a set operation contains a character that is not in the range "a" to "z", "A" to "Z", or "0" to "9".

In a set operation, the current custom culture is a replacement culture or a neutral culture.

Remarks

The ThreeLetterWindowsRegionName property corresponds to the ThreeLetterWindowsRegionName property.

For example, the three-letter code for United States is "USA".

Applies to