Device.OS Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
TargetPlatform is obsolete as of version 2.3.4. Please use RuntimePlatform instead.
Gets the TargetPlatform indicating the OS Xamarin.Forms is working on.
[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
Property Value
A TargetPlatform that indicates the current OS.
- Attributes
-
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute