System.Classes.ComponentPlatformsAttribute

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

System.TCustomAttributeSystem.TObjectComponentPlatformsAttribute

Delphi

ComponentPlatformsAttribute = class(TCustomAttribute)

C++

class PASCALIMPLEMENTATION ComponentPlatformsAttribute : public System::TCustomAttribute

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
class public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes


Beschreibung

ComponentPlatformsAttribute stellt plattformspezifische Laufzeitinformationen bereit.

Der Konstruktor dieser Klasse erhält als Parameter eine Menge von Plattformbezeichnern, die folgendermaßen definiert werden:

Plattformbezeichner Unterstützte Plattform

pidWin32

32-Bit-Windows

pidWin64

64-Bit-Windows

pidOSX32

OS X (32-Bit)

pidiOSSimulator

iOS-Simulator (der auf dem Mac ausgeführt wird)

pidiOSDevice & pidiOSDevice32

32-Bit-iOS-Gerät (iPad, iPhone, iPod Touch)

pidiOSDevice64

64-Bit-iOS-Gerät (iPad, iPhone, iPod Touch)

pidAndroid

Android-Gerät

pidLinux64

64-Bit-Linux

ComponentPlatformsAttribute gewährt den Komponentenerstellern eine gezieltere Kontrolle über die bereitgestellten Komponenten.

Siehe auch