System.Rtti.TValue.GetArrayElement
Delphi
function GetArrayElement(Index: NativeInt): TValue;
C++
TValue __fastcall GetArrayElement(System::NativeInt Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Returns an element from the array stored in the TValue record.
Call GetArrayElement to obtain an element from the array stored in the TValue record. The Index parameter specifies the array's index at which you get the element.
GetArrayElement returns another TValue that stores the retrieved element.
Note: GetArrayElement raises an exception if the value stored in the TValue record is not an array.