Dela via


GeographicRegion.CodeTwoLetter Property

Definition

Gets the two-letter identifier for this region.

public:
 property Platform::String ^ CodeTwoLetter { Platform::String ^ get(); };
winrt::hstring CodeTwoLetter();
public string CodeTwoLetter { get; }
var string = geographicRegion.codeTwoLetter;
Public ReadOnly Property CodeTwoLetter As String

Property Value

String

Platform::String

winrt::hstring

Returns the two-letter ISO 3166-1 alpha-2 code for this region, if one exists; otherwise, returns "ZZ".

Applies to