DevicePlatform.macOS Property  
Definition
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.