DevicePlatform.MacCatalyst 属性

定义

获取表示 Mac Catalyst 的 DevicePlatform 实例。

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

属性值

注解

请注意,这与 macOS不同。

适用于