User.CheckUserAgeConsentGroupAsync(UserAgeConsentGroup) 메서드

정의

사용자가 지정된 사용자 연령 동의 그룹에 속하는지 여부를 나타내는 값을 검색합니다.

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)

매개 변수

consentGroup
UserAgeConsentGroup

사용자 멤버 자격을 쿼리하는 연령 동의 그룹을 나타내는 UserAgeConsentGroup 의 값입니다.

반환

완료 시 UserAgeConsentResult 를 반환하는 비동기 작업입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 11 (10.0.22000.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v14.0에서 도입되었습니다.)

설명

이 API에서 반환된 정보를 사용하면 앱을 사용하여 어린이와 미성년자에게 보다 적합한 환경을 디자인할 수 있습니다.

이 API에는 UserAccountInformation 기능이 필요합니다. 자세한 내용은 앱 기능 선언을 참조하세요.

적용 대상