Click or drag to resize

ShellBoostViewGetFromContextAsync Method

Gets a ShellBoost-hosted view in the Windows Explorer or folder windows.

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Task<ShellBoostView> GetFromContextAsync(
	ShellItemIdList idList,
	long contextCookie,
	Guid? folderId = null,
	int processId = 0
)

Parameters

idList
Type: callback.ShellBoost.CoreShellItemIdList
The PIDL.
contextCookie
Type: SystemInt64
The context cookie. If 0, the method will return null.
folderId (Optional)
Type: SystemNullableGuid
The folder identifier. If null, the method will not try dialog windows.
processId (Optional)
Type: SystemInt32
The client process identifier. If 0, the method will not try dialog windows.

Return Value

Type: TaskShellBoostView
An instance of the ShellBoostView class or null.
Exceptions
ExceptionCondition
ArgumentNullExceptionidList is null.
ArgumentNullExceptionidList
See Also