Device.OS 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
TargetPlatform is obsolete as of version 2.3.4. Please use RuntimePlatform instead.
取得 TargetPlatform,表示 Xamarin.Forms 執行所在的作業系統。
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("TargetPlatform is obsolete as of version 2.3.4. Please use RuntimePlatform instead.")]
public static Xamarin.Forms.TargetPlatform OS { get; }
member this.OS : Xamarin.Forms.TargetPlatform
屬性值
, TargetPlatform 表示目前的 OS。
- 屬性