System.Rtti.TValue.AsOrdinal
Delphi
function AsOrdinal: Int64;
C++
__int64 __fastcall AsOrdinal(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Casts the currently stored value to a Int64 value.
Call AsOrdinal to convert the stored value to a Int64 value. AsOrdinal returns the converted value if the conversion succeeded; otherwise, it raises an exception.