System.Rtti.TValue.AsOrdinal

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AsOrdinal: Int64;

C++

__int64 __fastcall AsOrdinal();

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.

See Also