IFolderViewSettings::GetSortColumns メソッド (shobjidl_core.h)

並べ替え列の情報を取得します。

構文

HRESULT GetSortColumns(
  [out] SORTCOLUMN *rgSortColumns,
  [in]  UINT       cColumnsIn,
  [out] UINT       *pcColumnsOut
);

パラメーター

[out] rgSortColumns

種類: SORTCOLUMN*

SORTCOLUMN 構造体の配列へのポインター。

[in] cColumnsIn

型: UINT

ソース列の数。

[out] pcColumnsOut

型: UINT*

rgSortColumns 配列長へのポインター。

戻り値

型: HRESULT

このメソッドは、成功すると S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。

要件

   
サポートされている最小のクライアント Windows Vista [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2008 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー shobjidl_core.h (Shobjidl.h を含む)