Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

UserAgeConsentGroup Enum

Definition

Namespace:
Windows.System

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Specifies the age consent groups a user can belong to.

public enum class UserAgeConsentGroup
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 917504)]
enum class UserAgeConsentGroup
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 917504)]
public enum UserAgeConsentGroup
var value = Windows.System.UserAgeConsentGroup.child
Public Enum UserAgeConsentGroup
Inheritance
UserAgeConsentGroup
Attributes

Windows requirements

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

Fields

Name Value Description
Child 0

Child consent group.

Minor 1

Minot consent group.

Adult 2

Adult consent group.

Remarks

This enumeration is used by the CheckUserAgeConsentGroupAsync method.

Applies to


Feedback

Was this page helpful?