TValueHelper.AsTypeRelaxed Method

Definition

Casts the currently stored value to another type.

Delphi
procedure AsTypeRelaxed(typeInfo: PTypeInfo; out target)

Parameters

typeInfo
PTypeInfo
target
Void

Remarks

This method uses an equality check on the typeInfo to support types across binary boundaries