OperatingSystem.IsWatchOS Methode

Definition

Gibt an, ob die aktuelle Anwendung unter watchOS ausgeführt wird.

public:
 static bool IsWatchOS();
public static bool IsWatchOS();
static member IsWatchOS : unit -> bool
Public Shared Function IsWatchOS () As Boolean

Gibt zurück

true wenn die aktuelle Anwendung auf watchOS ausgeführt wird; false Andernfalls.

Gilt für: