UserPicker.PickSingleUserAsync Method
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.
Displays a dialog for the user to pick a user account. The selected account is signed in, paired with the IGameController that selected it, and becomes obtainable using the User class. This method is only supported for multi-user devices and apps, and will throw an exception if called from a single user device or app.
public:
virtual IAsyncOperation<User ^> ^ PickSingleUserAsync() = PickSingleUserAsync;
IAsyncOperation<User> PickSingleUserAsync();
public IAsyncOperation<User> PickSingleUserAsync();
function pickSingleUserAsync()
Public Function PickSingleUserAsync () As IAsyncOperation(Of User)
Returns
When this method completes, it returns the selected user. If no user was selected, it returns null instead.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro