TypInfo.GetTypeName

From RAD Studio VCL Reference
Jump to: navigation, search

C++ Information

From TypInfo.hpp

	System::UnicodeString __fastcall GetTypeName(Typinfo::TTypeInfo * TypeInfo);


Unit: TypInfo

Type: function

Description

Returns the name of the type from it's type information record.


GetTypeName utilises Delphi's RTTI (Run Time Type Information) to return the name of a type as defined in the code.

TypeInfo is the type information record that describes the type for which the name must be obtained. You can obtain the type information for a type by calling the TypeInfo function in Delphi or the __delphirtti operator in C++.

See Also

Personal tools
Translations
Newest Version