IVsIntellisenseHost::QueryStatus Method (Guid, UInt32, array<OLECMD>^, array<OLECMDTEXT>^)

 

Queries this object for the status of one or more commands generated by user interface events.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int QueryStatus(
	[InAttribute] Guid% pguidCmdGroup,
	unsigned int cCmds,
	array<OLECMD>^ prgCmds,
	array<OLECMDTEXT>^ pCmdText
)

Parameters

pguidCmdGroup
Type: System::Guid

The GUID of the command group.

cCmds
Type: System::UInt32

The number of commands in prgCmds.

prgCmds
Type: array<Microsoft.VisualStudio.OLE.Interop::OLECMD>^

An array of structures that indicate the commands for which the caller needs status information.

pCmdText
Type: array<Microsoft.VisualStudio.OLE.Interop::OLECMDTEXT>^

A structure in which to return name and/or status information of a single command. This parameter can be null to indicate that the caller does not need this information.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: