System.TypInfo.ByteOffsetOfSet

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ByteOffsetOfSet(TypeInfo: PTypeInfo): Integer;

C++

extern DELPHI_PACKAGE int __fastcall ByteOffsetOfSet(PTypeInfo TypeInfo);

Properties

Type Visibility Source Unit Parent
function public
System.TypInfo.pas
System.TypInfo.hpp
System.TypInfo System.TypInfo

Description

Returns the byte offset on the memory of Set type.

ByteOffsetOfSet utilizes Delphi's RTTI (Run Time Type Information) to retrieve one or more of the values of a component property that is of the set type.

The property to interrogate is defined by a PropInfo record. GetPropInfo and GetPropList can be used to obtain such a record.

You may optionally set Brackets true to enclose this returned string within square brackets, as shown in the IDE for the property.

See Also