System.SysUtils.TOSVersion.TPlatform

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

TPlatform = (pfWindows, pfMacOS, pfiOS, pfAndroid, pfWinRT, pfLinux);

C++

enum DECLSPEC_DENUM TPlatform : unsigned char { pfWindows, pfMacOS, pfiOS, pfAndroid, pfWinRT, pfLinux };

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
enum public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TOSVersion


Beschreibung

Listet die Plattformen, auf denen Delphi- und C++Builder- Anwendungen ausgeführt werden können (Windows, Mac OS usw).

Mit TOSVersion.Platform ermitteln Sie die aktuelle Plattform. Folgende Plattformen werden unterstützt:

Konstante Plattform
pfWindows Windows
pfMacOS Mac OS X
pfiOS iOS
pfAndroid Android
pfLinux Linux

Siehe auch