IMLSortOrder::Count (Compact 7)
3/12/2014
This method returns the number of sort orders in the array of sort orders set in IMLSortOrderSet::Set.
Syntax
HRESULT Count(
ULONG *pcSortOrders
);
Parameters
- pcSortOrders
[out] Pointer to the number of sort orders.
Return Values
Returns the HRESULT values shown in the following table.
Value | Description |
---|---|
S_OK |
The method was successful. |
E_INVALIDARG |
One or more parameters are invalid. |
E_POINTER |
The pcSortOrders parameter is invalid. |
E_FAIL |
The method was not successful. |
E_MEMORY |
An out of memory error occurred. |
Remarks
The sort orders are set in the IMLSortOrderSet interface.
Requirements
Header |
mlibdll.h, |
Library |
mlibdll.lib |