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
Adult | 2 | Adult consent group. |
Child | 0 | Child consent group. |
Minor | 1 | Minot consent group. |
Remarks
This enumeration is used by the CheckUserAgeConsentGroupAsync method.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor