DevicePlatform.macOS Property

Definition

Gets an instance of DevicePlatform that represents macOS.

public:
 static property Microsoft::Maui::Devices::DevicePlatform macOS { Microsoft::Maui::Devices::DevicePlatform get(); };
public static Microsoft.Maui.Devices.DevicePlatform macOS { get; }
static member macOS : Microsoft.Maui.Devices.DevicePlatform
Public Shared ReadOnly Property macOS As DevicePlatform

Property Value

Remarks

Note, this is different than MacCatalyst.

Applies to