Click or drag to resize

ItemQueryCommandStatus Method

Queries the item for the status of one or more commands generated by user interface events. Depends on the item's IOleCommandTarget optional implementation.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public Tuple<OLECMDF, OLECMDTEXTF, string> QueryCommandStatus(
	Guid commandGroup,
	int commandId,
	OLECMDTEXTF textType = OLECMDTEXTF.OLECMDTEXTF_NONE,
	IBindCtx bindContext = null,
	bool throwOnError = true
)

Parameters

commandGroup
Type: SystemGuid
The command group.
commandId
Type: SystemInt32
The command identifier.
textType (Optional)
Type: callback.ShellBoost.Core.WindowsShellOLECMDTEXTF
The optional text type.
bindContext (Optional)
Type: System.Runtime.InteropServices.ComTypesIBindCtx
The bind context.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: TupleOLECMDF, OLECMDTEXTF, String
A tuple containing requested status or null if it cannot be determined.
See Also