Share via


PinnedContactManager.GetDefault Method

Definition

Gets the default instance of a PinnedContactManager.

In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow.

public:
 static PinnedContactManager ^ GetDefault();
 static PinnedContactManager GetDefault();
public static PinnedContactManager GetDefault();
function getDefault()
Public Shared Function GetDefault () As PinnedContactManager

Returns

the default PinnedContactManager.

Windows requirements

App capabilities
contactsSystem

Remarks

This method must be called from the main UI thread.

Applies to