Share via


IMLSortOrderSet::Set (Compact 7)

3/12/2014

This method sets the array of sort orders.

Syntax

HRESULT Set (
  ULONG cSortOrder,
  MLSortOrder *pSortOrder
);

Parameters

  • cSortOrder
    [in] Count of sort orders in the pSortOrder array.
  • pSortOrder
    [in] Pointer to the first MLSortOrder in the array 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 pSortOrder parameter is invalid.

E_FAIL

The method was not successful.

E_MEMORY

An out of memory error occurred.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLSortOrderSet