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

Boolean

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

Gilt für