Share via


ContactManager.IsShowContactCardSupported Méthode

Définition

Obtient une valeur booléenne qui indique si la méthode ShowContactCard est prise en charge sur la plateforme actuelle.

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

Retours

Boolean

bool

true si la méthode ShowContactCard est prise en charge sur la plateforme actuelle ; sinon, false.

Configuration requise pour Windows

Fonctionnalités de l’application
contactsSystem

Remarques

Notes

Les applications sources doivent s’exécuter au premier plan pour appeler cette méthode. Une application qui s’exécute en arrière-plan obtient une exception « Accès refusé » si elle appelle cette méthode. La valeur de retour de la méthode ne doit pas être mise en cache et ne doit être appelée qu’en cas de besoin.

S’applique à