共用方式為


DeviceInfo.Platform 屬性

定義

取得裝置的平臺或作業系統。

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

屬性值

裝置的平臺。

適用於