Help Center

DVARIANT.PutVbDatemethod

Initializes DVARIANT with the contents of a DATE value.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION PutVbDate (BYREF vbDate AS DATE_) AS HRESULT

Parameters

NameDescription
vbDateThe DATE value.

Return value

If this function succeeds, it returns S_OK (0). Otherwise, it returns an HRESULT error code.

Description

Initializes DVARIANT with the contents of a DATE value.

Remarks

Creates a VT_DATE variant.

Reference

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