Udostępnij za pośrednictwem


CComSafeArrayBound::GetUpperBound

Call this method to return the upper bound.

LONG GetUpperBound( ) const throw( );

Return Value

Returns the upper bound of the CComSafeArrayBound object.

Remarks

The upper bound depends on the number of elements and the lower bound value. For example, if the lower bound is 0 and the number of elements is 10, the upper bound will automatically be set to 9.

Requirements

Header: atlsafe.h

See Also

Reference

CComSafeArrayBound Class

CComSafeArrayBound::GetCount

CComSafeArrayBound::GetLowerBound

Other Resources

CComSafeArrayBound Members