System.Rtti.TValue.FromOrdinal

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function FromOrdinal(ATypeInfo: PTypeInfo; AValue: Int64): TValue; static;

C++

static TValue __fastcall FromOrdinal(System::Typinfo::PTypeInfo ATypeInfo, __int64 AValue);

Properties

Type Visibility Source Unit Parent
function public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TValue

Description

Builds a new TValue record from an ordinal value.

FromOrdinal is a static method that can be used to build TValue records with a stored ordinal value. The Value parameter contains an Int64 that will be stored inside the built TValue record. The ATypeInfo parameter specifies the type information of the ordinal type.

See Also