Partager via


SimpleEditorView.QueryStatus(Guid, UInt32, OLECMD[], IntPtr) Method

Definition

IOleCommandTarget implementation

public:
 virtual int QueryStatus(Guid % guidCmdGroup, System::UInt32 cmds, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECMD> ^ prgCmds, IntPtr pCmdText);
public virtual int QueryStatus (ref Guid guidCmdGroup, uint cmds, Microsoft.VisualStudio.OLE.Interop.OLECMD[] prgCmds, IntPtr pCmdText);
abstract member QueryStatus : Guid * uint32 * Microsoft.VisualStudio.OLE.Interop.OLECMD[] * nativeint -> int
override this.QueryStatus : Guid * uint32 * Microsoft.VisualStudio.OLE.Interop.OLECMD[] * nativeint -> int
Public Overridable Function QueryStatus (ByRef guidCmdGroup As Guid, cmds As UInteger, prgCmds As OLECMD(), pCmdText As IntPtr) As Integer

Parameters

guidCmdGroup
Guid

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

cmds
UInt32

The number of commands to query.

prgCmds
OLECMD[]

An array of command IDs to query.

pCmdText
IntPtr

nativeint

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

Returns

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

Implements

Applies to