System.Rtti.TRttiOrdinalType.MaxValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MaxValue: Integer read GetMaxValue;

C++

__property int MaxValue = {read=GetMaxValue, nodefault};

Properties

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

Description

Specifies the maximum value allowed for values of the reflected ordinal type.

Use MaxValue to obtain the maximum value allowed in a variable of the reflected ordinal type. Any value exceeding MaxValue assigned to a variable of the reflected type leads to an overflow.

See Also