TValueHelper.Cast(PTypeInfo) Method

Casts the currently stored value to another type.

Namespace: Spring
public
 function Cast(typeInfo: PTypeInfo): TValue;

Parameters

typeInfo
Type: System.Void

Return Value

Type: TValue

 

This method fixes the missing interface cast support of TValue.Cast.