Share via


IMLSortOrder::GetAt (Compact 7)

3/12/2014

This method returns the sort order at the specified index in the array of sort orders set in IMLSortOrderSet::Set.

Syntax

HRESULT GetAt (
  ULONG index,
  MLSortOrder **pSortOrder
);

Parameters

  • index
    [in] Sort order index.
  • pSortOrder
    [out] Pointer to the MLSortOrder structure containing the sort order at the index.

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.

Remarks

The sort orders are set with the IMLSortOrderSet interface.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLSortOrder