ContactManager.IsShowContactCardSupported Method

Definition

Gets a Boolean value that indicates whether the ShowContactCard method is supported on the current platform.

public:
 static bool IsShowContactCardSupported();
 static bool IsShowContactCardSupported();
public static bool IsShowContactCardSupported();
function isShowContactCardSupported()
Public Shared Function IsShowContactCardSupported () As Boolean

Returns

Boolean

bool

true if the ShowContactCard method is supported on the current platform; otherwise, false.

Windows requirements

App capabilities
contactsSystem

Remarks

Note

Source apps must be running in the foreground to call this method. An app that runs in the background will get an "Access Denied" exception if it calls this method. The return value of the method should not be cached and should only be called when needed.

Applies to