Jump to content
Hafedh TRIMECHE

Base (Root) RTTI Type

Recommended Posts

Hello,

 

Is there a function GetBaseType which returns the Base Type of a sub-type?

 

type

  TCustomDateTime = type TDateTime;

GetBaseType(TypeInfo(TCustomDateTime)) would return TypeInfo(TDateTime).

 

Best regards.

Share this post


Link to post
Guest

for Class and Interface, for example:

Edited by Guest

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×