Share via


CComSafeArray::GetLowerBound

Returns the lower bound for a given dimension of the array.

LONG GetLowerBound( 
   UINT uDim = 0  
) const;

Parameters

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

Return Value

Returns the lower bound.

Remarks

If the lower bound is 0, this indicates a C-like array whose first element is element number 0. 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

See Also

Reference

CComSafeArray Class

CComSafeArray::GetCount

CComSafeArray::GetUpperBound

CComSafeArray::GetDimensions

Other Resources

CComSafeArray Members