ShellBoostViewGetFromContextAsync Method |
Gets a ShellBoost-hosted view in the Windows Explorer or folder windows.
Namespace:
ShellBoost.Core
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Task<ShellBoostView> GetFromContextAsync(
ShellItemIdList idList,
long contextCookie,
Guid? folderId = null,
int processId = 0
)
Parameters
- idList
- Type: 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 See Also