共用方式為


DevicePlatform.MacCatalyst 屬性

定義

取得 的 DevicePlatform 實例,表示 Mac Catalyst。

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不同。

適用於