OperatingSystem.IsWatchOS Methode

Definition

Gibt an, ob die aktuelle Anwendung auf 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

Boolean

true, wenn die aktuelle Anwendung unter watchOS ausgeführt wird, andernfalls false.

Gilt für