System.Rtti.TValue.GetArrayLength

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetArrayLength: Integer;

C++

int __fastcall GetArrayLength(void);

Properties

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

Description

Returns the length of the array stored in the TValue record.

Call GetArrayLength to obtain the number of elements that make up the array stored in the TValue record.

Note: GetArrayLength raises an exception if the value stored in the TValue record is not an array.

See Also