ExpansionProvider::HandleQueryStatus Method (Guid, UInt32, Int32)

 

Determines if the specified command is handled by the ExpansionProvider class.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual bool HandleQueryStatus(
	Guid% guidCmdGroup,
	unsigned int nCmdId,
	[OutAttribute] int% hr
)

Parameters

guidCmdGroup
Type: System::Guid

[in] The GUID of the command group.

nCmdId
Type: System::UInt32

[in] The specific ID of the command from the command group. This identifies the command to execute.

hr
Type: System::Int32

[out] Returns a combination of values from the OLECMD enumeration indicating support for the specified command.

Return Value

Type: System::Boolean

If the command is supported by the ExpansionProvider class, returns true; otherwise, returns false.

The base method always returns false, indicating it does not support any menu-based commands.

Return to top
Show: