OperatingSystem.IsMacOS Methode

Definition

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

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

Gibt zurück

true wenn die aktuelle Anwendung unter macOS ausgeführt wird; false Andernfalls.

Gilt für: