SimpleEditorView::QueryStatus Method (Guid, UInt32, array<OLECMD>^, IntPtr)

 

Gets the status of the specified commands.

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

public:
virtual int QueryStatus(
	Guid% guidCmdGroup,
	unsigned int cmds,
	array<OLECMD>^ prgCmds,
	IntPtr pCmdText
)

Parameters

guidCmdGroup
Type: System::Guid

The GUID of the command group to which the commands belong.

cmds
Type: System::UInt32

The number of commands to query.

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

An array of command IDs to query.

pCmdText
Type: System::IntPtr

Pointer to a T:Microsoft.VisualStudio.OLE.Interop.OLECMDTXT structure for command text.

Return Value

Type: System::Int32

S_OK if all commands are enabled, or an error code.

Return to top
Show: