UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:shobjidl_core.IFolderView2.GetSelection |
IFolderView2::GetSelection (shobjidl_core.h) |
Gets the current selection as an IShellItemArray. |
|
shell\IFolderView2_GetSelection.htm |
shell |
d8ff0c8f-9678-455b-b7ec-9b651df769bc |
12/05/2018 |
GetSelection, GetSelection method [Windows Shell], GetSelection method [Windows Shell],IFolderView2 interface, IFolderView2 interface [Windows Shell],GetSelection method, IFolderView2.GetSelection, IFolderView2::GetSelection, _shell_IFolderView2_GetSelection, shell.IFolderView2_GetSelection, shobjidl_core/IFolderView2::GetSelection |
shobjidl_core.h |
Shobjidl.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Shobjidl.idl |
Windows |
19H1 |
|
|
|
|
|
|
Gets the current selection as an IShellItemArray.
Type: BOOL
If TRUE, this method returns an IShellItemArray containing the parent folder when there is no current selection.
Type: IShellItemArray**
The address of a pointer to an IShellItemArray.
Type: HRESULT
Returns one of the following values, or an error otherwise.
Return code | Description |
---|---|
|
The operation completed successfully. |
|
The IShellItemArray returned has zero items. |