System.Rtti.TRttiArrayType.Dimensions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Dimensions[Index: Integer]: TRttiType read GetDimension;

C++

__property TRttiType* Dimensions[int Index] = {read=GetDimension};

Properties

Type Visibility Source Unit Parent
property public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiArrayType

Description

Specifies the length of a dimension in the static array.

Use Dimensions to obtain the number of elements allowed on a specific dimension in the static array. Unlike a dynamic array that has only one dimension, static arrays can declare more than one dimension; use Dimensions to obtain the length of a given dimension.

Dimensions is an indexed property; the index is an integer value that specifies the actual dimension number, starting with zero.

See Also