UserAgeConsentResult 列舉

定義

指定呼叫 CheckUserAgeConsentGroupAsync的結果,查詢指定 UserAgeConsentGroup中的使用者成員資格。

public enum class UserAgeConsentResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 917504)]
enum class UserAgeConsentResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 917504)]
public enum UserAgeConsentResult
var value = Windows.System.UserAgeConsentResult.notEnforced
Public Enum UserAgeConsentResult
繼承
UserAgeConsentResult
屬性

Windows 需求

裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)

欄位

Ambiguous 4

指定的強制群組已過時,且使用者屬於部分重迭的強制執行群組。

Included 1

使用者是指定群組的成員,或包含指定群組的群組。 例如,如果使用者是成人,檢查Minor將會傳回Included,因為成人Minor的超集合。

NotEnforced 0

使用者的區域不會使用年齡同意強制執行群組。

NotIncluded 2

使用者不是指定群組的成員。

Unknown 3

系統無法判斷使用者所屬的強制群組。

適用於