IPropertyDescriptionAliasInfo::GetSortByAlias method (propsys.h)

Gets the address of a pointer to the IPropertyDescription interface containing the primary sort column.

Syntax

HRESULT GetSortByAlias(
  [in]  REFIID riid,
  [out] void   **ppv
);

Parameters

[in] riid

Type: REFIID

A reference to the identifier of the requested IPropertyDescription interface.

[out] ppv

Type: void**

When this method returns successfully, contains the address of a pointer to the IPropertyDescription interface for the calling object.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header propsys.h

See also

IPropertyDescriptionAliasInfo

IPropertyDescriptionAliasInfo::GetAdditionalSortByAliases