System.Variants.TCustomVariantType.VarDataCastToOleStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure VarDataCastToOleStr(var Dest: TVarData);

C++

void __fastcall VarDataCastToOleStr(TVarData &Dest);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Variants.pas
System.Variants.hpp
System.Variants TCustomVariantType

Description

Performs a cast to a Variant type of varOleStr.

Call VarDataCastToOleStr from the implementation of a TCustomVariantType descendant to perform casts to a TVarData record with Variant type code of varOleStr (Unicode string).

Dest is the TVarData record of a Variant, and returns the result of the cast.

See Also