Help Center

DVARIANT.GetElementCountmethod

Gets the number of elements in the array.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION GetElementCount () AS ULONG

Return value

Returns the number of elements for variants of type VT_ARRAY; returns 1 otherwise.

Description

Gets the number of elements in the array.

Reference

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