System.Rtti.TRttiType.AsSet

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AsSet: TRttiSetType read GetAsSet;

C++

__property TRttiSetType* AsSet = {read=GetAsSet};

Properties

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

Description

Casts the TRttiType instance to a TRttiSetType instance.

The AsSet property is provided as a convenience to the developer. Instead of typing typecasting code, you can employ the provided property to do that for you.

Note: Be sure to call IsSet to verify whether the TRttiType instance can actually be typecasted to a TRttiSetType instance.

See Also