Name

OleVariant Type

Syntax

type OleVariant;

Description

The OleVariant type is the same as the Variant type, except that an OleVariant can store only OLE-compatible types. In particular, an OleVariant cannot store a Delphi string, but must store a wide string instead.

Tips and Tricks

When you assign a value to an OleVariant, Delphi automatically converts its value to an OLE-compatible value, that is, it converts an AnsiString (varString) to a wide string (varOleStr).

See Also

AnsiString Type, PWideChar Type, String Keyword, VarCast Procedure, VarCopy Procedure, Variant Type, WideString Type
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset