KnownUserProperties.AgeEnforcementRegion 属性

定义

获取表示用户年龄强制区域的字符串。

public:
 static property Platform::String ^ AgeEnforcementRegion { Platform::String ^ get(); };
static winrt::hstring AgeEnforcementRegion();
public static string AgeEnforcementRegion { get; }
var string = KnownUserProperties.ageEnforcementRegion;
Public Shared ReadOnly Property AgeEnforcementRegion As String

属性值

String

Platform::String

winrt::hstring

用户的年龄强制区域。

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

注解

此属性允许应用在考虑适合年龄的内容时包含区域要求。

适用于