共用方式為


IDeviceInfo.Platform 屬性

定義

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

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

屬性值

適用於