CComSafeArray::GetUpperBound
Returns the upper bound for any dimension of the array.
LONG GetUpperBound(
UINT uDim = 0
) const;
Parameters
- uDim
The array dimension for which to get the upper bound. If omitted, the default is 0.
Return Value
Returns the upper bound. This value is inclusive, the maximum valid index for this dimension.
Remarks
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