OperatingSystem.IsIOS Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee wordt aangegeven of de huidige toepassing wordt uitgevoerd op iOS of MacCatalyst.
public:
static bool IsIOS();
[System.Runtime.Versioning.SupportedOSPlatformGuard("maccatalyst")]
public static bool IsIOS();
public static bool IsIOS();
[<System.Runtime.Versioning.SupportedOSPlatformGuard("maccatalyst")>]
static member IsIOS : unit -> bool
static member IsIOS : unit -> bool
Public Shared Function IsIOS () As Boolean
Retouren
true als de huidige toepassing wordt uitgevoerd op iOS of MacCatalyst; false Anders.
- Kenmerken