CComSafeArray::GetUpperBound

CComSafeArray::GetUpperBound

 

Returns the upper bound for any dimension of the array.


      LONG GetUpperBound(
   UINT uDim = 0 
) const;

uDim

The array dimension for which to get the upper bound. If omitted, the default is 0.

Returns the upper bound. This value is inclusive, the maximum valid index for this dimension.

In the event of an error, for example, an invalid dimension argument, this method calls AtlThrow with an HRESULT describing the error.

Requirements

Header: atlsafe.h

Show:
© 2016 Microsoft