RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IntfInfo.GetClsMemberTypeInfo Function

Returns the runtime type information (RTTI) for a published member of a class.

Pascal
function GetClsMemberTypeInfo(const ObjectTypeInfo: PTypeInfo; const MemberName: string = ''): PTypeInfo;
C++
PTypeInfo GetClsMemberTypeInfo(const PTypeInfo ObjectTypeInfo, const AnsiString MemberName = '');

 

ObjectTypeInfo is a pointer to the type information of the class that includes the published property. You can obtain this value for a class using the TypeInfo (Delphi) or __classid (C++) function. 

MemberName is the name of a published property in the class identified by ObjectTypeInfo. 

GetClsMemberTypeInfo returns a pointer to the type information for the specified property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!