Click or drag to resize

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:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
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: callback.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: callback.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