System.Classes.ComponentPlatformsAttribute
Delphi
ComponentPlatformsAttribute = class(TCustomAttribute)
C++
class PASCALIMPLEMENTATION ComponentPlatformsAttribute : public System::TCustomAttribute
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| class | public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
説明
ComponentPlatformsAttribute はプラットフォーム固有の実行時情報を提供します。
このクラスのコンストラクタでは、次のような一連のプラットフォーム識別子をパラメータとして受け取ります。
| プラットフォーム識別子 | サポートされているプラットフォーム |
|---|---|
|
pidWin32 |
32 ビット Windows |
|
pidWin64 |
64 ビット Windows |
|
pidOSX32 |
OS X(32 ビット) |
|
pidiOSSimulator |
iOS シミュレータ(Mac 上で動作) |
|
pidiOSDevice および pidiOSDevice32 |
32 ビット iOS デバイス(iPad、iPhone、iPod Touch) |
|
pidiOSDevice64 |
64 ビット iOS デバイス(iPad、iPhone、iPod Touch) |
|
pidAndroid |
Android デバイス |
|
pidLinux64 |
64 ビット Linux |
ComponentPlatformsAttribute を使用すると、コンポーネント開発者は、公開されるコンポーネントをより特化した形で管理できます。