IASPowerListBoxIntSpinner::put_Max

This method sets the maximum value for the integer spinner item.

Syntax

HRESULT put_Max( long lMax );

Parameters

lMax
Long integer that contains the maximum value for the integer spinner.

Return Values

NOERROR indicates success. E_OUTOFMEMORY indicates that the system is out of memory.

Remarks

If the passed value is less than the current minimum value, the minimum value is set to be the same as the new maximum value.