FlavoredProject.QueryStatusCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the status of the specified commands.
protected:
virtual int QueryStatusCommand(System::UInt32 itemid, Guid % pguidCmdGroup, System::UInt32 cCmds, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECMD> ^ prgCmds, IntPtr pCmdText);
protected virtual int QueryStatusCommand (uint itemid, ref Guid pguidCmdGroup, uint cCmds, Microsoft.VisualStudio.OLE.Interop.OLECMD[] prgCmds, IntPtr pCmdText);
abstract member QueryStatusCommand : uint32 * Guid * uint32 * Microsoft.VisualStudio.OLE.Interop.OLECMD[] * nativeint -> int
override this.QueryStatusCommand : uint32 * Guid * uint32 * Microsoft.VisualStudio.OLE.Interop.OLECMD[] * nativeint -> int
Protected Overridable Function QueryStatusCommand (itemid As UInteger, ByRef pguidCmdGroup As Guid, cCmds As UInteger, prgCmds As OLECMD(), pCmdText As IntPtr) As Integer
Parameters
- itemid
- UInt32
The ID of the item being queried.
- pguidCmdGroup
- Guid
The GUID of the command group to which the commands belong.
- cCmds
- UInt32
The number of commands in the prgCmds
array.
- pCmdText
-
IntPtr
nativeint
A pointer to an OLECMDTEXT structure containing name and/or status information on the command.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method calls the QueryStatusCommand method on the inner project.