User.CheckUserAgeConsentGroupAsync(UserAgeConsentGroup) Metodo

Definizione

Recupera un valore che indica se l'utente appartiene al gruppo di consenso dell'età dell'utente specificato.

public:
 virtual IAsyncOperation<UserAgeConsentResult> ^ CheckUserAgeConsentGroupAsync(UserAgeConsentGroup consentGroup) = CheckUserAgeConsentGroupAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UserAgeConsentResult> CheckUserAgeConsentGroupAsync(UserAgeConsentGroup const& consentGroup);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UserAgeConsentResult> CheckUserAgeConsentGroupAsync(UserAgeConsentGroup consentGroup);
function checkUserAgeConsentGroupAsync(consentGroup)
Public Function CheckUserAgeConsentGroupAsync (consentGroup As UserAgeConsentGroup) As IAsyncOperation(Of UserAgeConsentResult)

Parametri

consentGroup
UserAgeConsentGroup

Valore di UserAgeConsentGroup che indica il gruppo di consenso dell'età per cui viene eseguita una query sull'appartenenza dell'utente.

Restituisce

Operazione asincrona che restituisce un oggetto UserAgeConsentResult al completamento.

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 11 (è stato introdotto in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v14.0)

Commenti

Le informazioni restituite da questa API consentono di progettare un'esperienza più adatta per bambini e minori usando l'app.

Questa API richiede la funzionalità UserAccountInformation . Per altre info, vedi Dichiarazioni di funzionalità delle app.

Si applica a