System.Rtti.TRttiType.IsInstance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IsInstance: Boolean read GetIsInstance;

C++

__property bool IsInstance = {read=GetIsInstance, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiType

Description

Checks whether the TRttiType instance is actually a TRttiInstanceType instance.

The IsInstance property is provided as a convenience to the developer. IsInstance provides an easy and clean way to determine whether the current TRttiType instance can be cast to a TRttiInstanceType instance.

See Also

Code Examples