CultureAndRegionInfoBuilder.ThreeLetterISORegionName 屬性

定義

取得或設定國家/地區在 ISO 3166 中定義的三個字母代碼。

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

屬性值

為國家/地區定義於 ISO 3166 中的三個字母代碼。

例外狀況

在設定作業中,此值為 null

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

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

備註

屬性 ThreeLetterISORegionName 會對應至 ThreeLetterISORegionName 屬性。

屬性 ThreeLetterISORegionName 包含針對國家/地區在 ISO 3166 中定義的三個字母代碼之一。 例如,美國 的三個字母代碼是 “USA”。

案例並不重要。 不過, RegionNameTwoLetterISORegionNameThreeLetterISORegionName 屬性包含大寫的適當程序代碼。

預先定義的國家/地區名稱會列在類別主題中 RegionInfo

適用於