System.Rtti.TValue.GetReferenceToRawData
Delphi
function GetReferenceToRawData: Pointer;
C++
void * __fastcall GetReferenceToRawData();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Returns a pointer to the stored value.
Use GetReferenceToRawData to obtain a pointer to the stored value. The obtained pointer is not always safe to use, because the reference counting may have actually disposed of the value.
Note: GetReferenceToRawData only works for stored values that are references to heap data.