Help Center

DVARIANT.GetUBoundmethod

Gets the upper bound for the specified dimension of the safe array.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION GetUBound (BYVAL nDim AS UINT = 1) AS LONG

Parameters

NameDescription
nDimThe dimension of the array.

Return value

Returns the upper bound for the specified dimension of the safe array for variants of type VT_ARRAY; returns 0 otherwise.

Description

Gets the upper bound for the specified dimension of the safe array.

Reference

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