Partage via


PrintManager.IsSupported Méthode

Définition

Indique si l’application est en cours d’exécution sur un appareil qui prend en charge l’impression.

public:
 static bool IsSupported();
 static bool IsSupported();
public static bool IsSupported();
function isSupported()
Public Shared Function IsSupported () As Boolean

Retours

Boolean

bool

Retourne true si sur un appareil qui prend en charge l’impression, retourne false si ce n’est pas le cas.

Configuration requise pour Windows

Famille d’appareils
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v3.0)

Remarques

Une application Windows universelle doit utiliser cette méthode pour déterminer s’il faut afficher ou masquer certains éléments d’interface utilisateur liés à la tâche d’impression.

S’applique à