Share via


ContactPicker.CreateForUser(User) Method

Definition

Creates a new ContactPicker for a specific User.

public:
 static ContactPicker ^ CreateForUser(User ^ user);
 static ContactPicker CreateForUser(User const& user);
public static ContactPicker CreateForUser(User user);
function createForUser(user)
Public Shared Function CreateForUser (user As User) As ContactPicker

Parameters

user
User

The User for which you want to create the ContactPicker.

Returns

Returns a ContactPicker for the account specified by the user parameter.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
contactsSystem

Applies to