共用方式為


IVsIntellisenseCompletor.QueryStatus Method

Definition

Overloads

QueryStatus(Guid, UInt32, OLECMD[], OLECMDTEXT[])

Gets the status of the completor.

QueryStatus(Guid, UInt32, OLECMD[], IntPtr)

QueryStatus(Guid, UInt32, OLECMD[], OLECMDTEXT[])

Gets the status of the completor.

public:
 int QueryStatus(Guid % pguidCmdGroup, System::UInt32 cCmds, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECMD> ^ prgCmds, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECMDTEXT> ^ pCmdText);
public int QueryStatus (ref Guid pguidCmdGroup, uint cCmds, Microsoft.VisualStudio.OLE.Interop.OLECMD[] prgCmds, Microsoft.VisualStudio.OLE.Interop.OLECMDTEXT[] pCmdText);
abstract member QueryStatus : Guid * uint32 * Microsoft.VisualStudio.OLE.Interop.OLECMD[] * Microsoft.VisualStudio.OLE.Interop.OLECMDTEXT[] -> int
Public Function QueryStatus (ByRef pguidCmdGroup As Guid, cCmds As UInteger, prgCmds As OLECMD(), pCmdText As OLECMDTEXT()) As Integer

Parameters

pguidCmdGroup
Guid

The GUID of the command group.

cCmds
UInt32

The number of commands.

prgCmds
OLECMD[]

The commands.

pCmdText
OLECMDTEXT[]

The command text.

Returns

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

Applies to

QueryStatus(Guid, UInt32, OLECMD[], IntPtr)

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

Parameters

pguidCmdGroup
Guid
cCmds
UInt32
prgCmds
OLECMD[]
pCmdText
IntPtr

nativeint

Returns

Implements

Applies to