UserAgeConsentGroup Enum
Definition
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
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.