System.Rtti.TValue.FromOrdinal
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.