CultureAndRegionInfoBuilder.ThreeLetterWindowsRegionName 屬性

定義

取得或設定 Windows 指派給由目前自訂文化特性所表示之國家/地區的三個字母代碼。

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

屬性值

Windows 指派給由這個 CultureAndRegionInfoBuilder 物件所表示之國家/地區的三個字母代碼。

例外狀況

在設定作業中,此值為 null

設定作業中值的長度範圍並不是 1 到 8 個字元之間。

設定作業中的值包含不在以下範圍中的字元:'a' 到 'z'、'A' 到 'Z' 或 '0' 到 '9'。

在設定作業中,目前的自訂文化特性是取代的文化特性或中性文化特性。

備註

屬性 ThreeLetterWindowsRegionName 會對應至 ThreeLetterWindowsRegionName 屬性。

例如,美國 的三個字母代碼是 “USA”。

適用於