System.Rtti.TValue.GetArrayLength
Delphi
function GetArrayLength: Integer;
C++
int __fastcall GetArrayLength();
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.