System.TypInfo.TIntfFlag
Delphi
TIntfFlag = (ifHasGuid, ifDispInterface, ifDispatch, ifHasRtti, ifUnused1, ifUnused2, ifMethRef, ifUnused3);
C++
enum DECLSPEC_DENUM TIntfFlag : unsigned char {ifHasGuid, ifDispInterface, ifDispatch, ifHasRtti, ifUnused1, ifUnused2, ifMethRef, ifUnused3};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | System.TypInfo.pas System.TypInfo.hpp |
System.TypInfo | System.TypInfo |
Description
Enumerates interface flag types in the TTypeData record.
The GetTypeData routine uses the Delphi RTTI (Run-Time Type Information) to return a pointer to the TTypeData record that describes a component property data type.
TTypeData is a variant record; the layout depends on the TTypeKind property's value. When the value is tkInterface, the data contains a TIntfFlagsBase set of TIntfFlags values.
The TIntfFlag value meanings are listed in the following table.
| Value | Meaning |
|---|---|
|
ifHasGuid |
Interface has a GUID (Globally Unique Identifier). |
|
ifDispInterface |
Is a dispatch interface. |
|
ifDispatch |
Can be dispatched. |