Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DevicePlatform.macOS Property

Definition

Namespace:
Microsoft.Maui.Devices
Assembly:
Microsoft.Maui.Essentials.dll
Source:
DevicePlatform.shared.cs
Source:
DevicePlatform.shared.cs
Source:
DevicePlatform.shared.cs
Source:
DevicePlatform.shared.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?