Help Center

DSAFEARRAY.UBoundmethod

Returns the upper bound for any dimension of a safe array.

COMmethodDSafeArray.incdocumented

Syntax

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

Parameters

NameDescription
nDimOptional. The array dimension for which to get the upper bound. You don't need to pass this parameter if it is a one-dimensional array.

Description

Returns the upper bound for any dimension of a safe array.

Reference

  • Include file DSafeArray.inc
  • Defined in AfxNova/DSafeArray.inc:692
  • Documented in COM/DSAFEARRAY Class.md
  • Topic: DSAFEARRAY Class