CoreShellFolderExecCommand Method (IWithIdList, Guid, Int32, Object, OLECMDEXECOPT, IBindCtx, Boolean) |
Executes the specified command.
Depends on the folder's IOleCommandTarget optional implementation.
The list of supported types for Input is limited to integral types (String, Int32, int64, Boolean, Single, Double, Guid, DateTime,Decimal) and IDictionary types.
Values for an IDictionary passed as Input can also contain arrays of aforementioned types.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public Object ExecCommand(
IWithIdList idList,
Guid commandGroup,
int commandId,
Object input = null,
OLECMDEXECOPT options = OLECMDEXECOPT.OLECMDEXECOPT_DODEFAULT,
IBindCtx bindContext = null,
bool throwOnError = true
)
Parameters
- idList
- Type: ShellBoost.CoreIWithIdList
A shell item id. Can be null. - commandGroup
- Type: SystemGuid
The command group. - commandId
- Type: SystemInt32
The command identifier. - input (Optional)
- Type: SystemObject
An optional input argument. Depends on the command group and identifier. - options (Optional)
- Type: ShellBoost.Core.WindowsShellOLECMDEXECOPT
The options. - bindContext (Optional)
- Type: System.Runtime.InteropServices.ComTypesIBindCtx
The bind context. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
Object
An output argument. Depends on the command group and identifier. Can be null.
See Also