共用方式為


IDeviceInfo.DeviceType 屬性

定義

取得應用程式執行所在的裝置類型。

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

屬性值

適用於