FlavoredProject::IOleCommandTarget::QueryStatus Method (Guid, UInt32, array<OLECMD>^, IntPtr)
Visual Studio 2015
Queries the object for the status of one or more commands.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
private: virtual int QueryStatus( Guid% pguidCmdGroup, unsigned int cCmds, array<OLECMD>^ prgCmds, IntPtr pCmdText ) sealed = IOleCommandTarget::QueryStatus
Parameters
- pguidCmdGroup
-
Type:
System::Guid
The GUID of the command group to which the commands belong.
- cCmds
-
Type:
System::UInt32
The number of commands in the command array.
- prgCmds
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::OLECMD>^
An array of OLECMD structures that contain information about the commands.
- pCmdText
-
Type:
System::IntPtr
Pointer to an OLECMDTEXT structure in which to return name and/or status information of a single command. Can be null.
This method calls QueryStatus on the menu service. For information on the COM interface, see IOleCommandTarget::QueryStatus.
Show: