TypInfo.GetTypeData

From RAD Studio VCL Reference
Jump to: navigation, search

C++ Information

From TypInfo.hpp

	Typinfo::TTypeData * __fastcall GetTypeData(Typinfo::TTypeInfo * TypeInfo);


Unit: TypInfo

Type: function

Description

Returns a pointer to information about a type.


GetTypeData utilises Delphi's RTTI (Run Time Type Information) to return a pointer to TTypeData record.

The TTypeData record is a variant type, but does not contain the variant as a tag. To identify which variant applies to a particular type, you should retrieve the TTypeKind value using the TypeInfo routine.

The TTypeData record holds meta data about a property. For example, the name of the unit a class type is stored in.

See Also

Personal tools
Translations
Newest Version