IASPowerListBox::put_SortOrder

This method sets whether the list is sorted in ascending or descending order.

Syntax

HRESULT put_SortOrder( BOOL fAscending );

Parameters

fAscending
Boolean that is set to TRUE if sorted in ascending order, or to FALSE if sorted in descending order.

Return Values

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