Dela via


PinnedContactManager.GetForUser(User) Method

Definition

Gets a PinnedContactManager for the specified user.

public:
 static PinnedContactManager ^ GetForUser(User ^ user);
 static PinnedContactManager GetForUser(User const& user);
public static PinnedContactManager GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As PinnedContactManager

Parameters

user
User

The user account to use to get the PinnedContactManager.

Returns

Returns the PinnedContactManager for the account specified by the user parameter.

Windows requirements

App capabilities
contactsSystem

Remarks

This method must be called from the main UI thread.

Applies to