System.Rtti.TValue.FromOrdinal

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

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

C++

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

Propriétés

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

Description

Construit un nouvel enregistrement TValue à partir d'une valeur ordinale.

FromOrdinal est une méthode statique qui peut être utilisée pour construire des enregistrements TValue à valeur ordinale stockée. Le paramètre Value contient un Int64 qui sera stocké à l'intérieur de l'enregistrement TValue construit. Le paramètre ATypeInfo spécifie l'information de type du type ordinal.

Voir aussi