共用方式為


ComputerInfo.OsCountryCode Property

Definition

Code for the country/region that an operating system uses

public:
 property System::String ^ OsCountryCode { System::String ^ get(); };
public:
 property Platform::String ^ OsCountryCode { Platform::String ^ get(); };
public string OsCountryCode { get; }
member this.OsCountryCode : string
Public ReadOnly Property OsCountryCode As String

Property Value

Remarks

Values are based on international phone dialing prefixes—also referred to as IBM country/region codes

Applies to