System.Rtti.TRttiDynamicArrayType.ElementSize

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property ElementSize: Integer read GetElementSize;

C++

__property int ElementSize = {read=GetElementSize, nodefault};

プロパティ

種類 可視性 ソース ユニット
property public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiDynamicArrayType

説明

配列要素が占めるバイト数を指定します。

ElementSize プロパティを使用すると、表わされた配列型の要素が占めるバイト数を取得できます。 その配列が文字列やオブジェクト参照のようにヒープベース型でできている場合、ElementSize プロパティは実際のデータが格納されているヒープ領域を指すポインタのサイズを返します。

関連項目