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
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: