IShellFolderViewDual::SelectItem method

Sets the selection state of an item in the view.

Syntax


HRESULT SelectItem(
  [in] VARIANT *pvfi,
  [inint     dwFlags
);

Parameters

pvfi [in]

Type: VARIANT*

A VARIANT object.

dwFlags [in]

Type: int

The flags representing the state of the object.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shldisp.h

IDL

Shldisp.idl

See also

IShellFolderViewDual
IShellFolderViewDual2
IShellFolderViewDual3

 

 

Show: