Dela via


UserAgeConsentGroup Enum

Definition

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

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