Dela via


KnownUserProperties.AgeEnforcementRegion Property

Definition

Gets a string representing the user's age enforcement region.

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

Property Value

String

Platform::String

winrt::hstring

The user's age enforcement region.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

This property allows apps to include regional requirements when making age-appropriate content considerations.

Applies to