Device.RuntimePlatform 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Use Microsoft.Maui.Devices.DeviceInfo.Platform instead.
取得 Microsoft.Maui.Controls 目前正在處理的裝置種類。
public:
static property System::String ^ RuntimePlatform { System::String ^ get(); };
[System.Obsolete("Use Microsoft.Maui.Devices.DeviceInfo.Platform instead.")]
public static string RuntimePlatform { get; }
[<System.Obsolete("Use Microsoft.Maui.Devices.DeviceInfo.Platform instead.")>]
static member RuntimePlatform : string
Public Shared ReadOnly Property RuntimePlatform As String
屬性值
- 屬性