Share via


AdControl.CountryOrRegion 属性

定义

获取或设置用户所在的双字母国家或地区代码。

public:
 property Platform::String ^ CountryOrRegion { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring CountryOrRegion();

void CountryOrRegion(winrt::hstring value);
public string CountryOrRegion { get; set; }
var string = adControl.countryOrRegion;
adControl.countryOrRegion = string;
Public Property CountryOrRegion As String

属性值

System.String

用户所在的双字母国家或地区代码。

适用于