Share via


PinnedContactManager.IsContactPinned(Contact, PinnedContactSurface) Method

Definition

Indicates whether the specified contact is pinned to the specified location in the Windows user interface.

public:
 virtual bool IsContactPinned(Contact ^ contact, PinnedContactSurface surface) = IsContactPinned;
bool IsContactPinned(Contact const& contact, PinnedContactSurface const& surface);
public bool IsContactPinned(Contact contact, PinnedContactSurface surface);
function isContactPinned(contact, surface)
Public Function IsContactPinned (contact As Contact, surface As PinnedContactSurface) As Boolean

Parameters

contact
Contact

A contact of interest. This property indicates whether that contact is pinned or not pinned.

surface
PinnedContactSurface

A pinnedContactSurface value that specifies the location in the UI that you'd like to check for pinned contacts.

Returns

Boolean

bool

A Boolean value that specifies whether the specified contact is pinned to the specified location in the Windows user interface.

Windows requirements

App capabilities
contactsSystem

Applies to