Help Center

DVARIANT.ToUtf8method

Returns the contents of a DVARIANT containing a BSTR as an UTF-8 encoded string.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION ToUtf8 () AS STRING

Return value

The UTF-8 string.

Description

Returns the contents of a DVARIANT containing a BSTR as an UTF-8 encoded string.

Reference

  • Include file DVARIANT.INC
  • Defined in AfxNova/DVARIANT.inc:1773
  • Documented in COM/DVARIANT Class.md
  • Topic: DVARIANT Class