共用方式為


VsIntellisenseCompletorClass.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:
 virtual int QueryStatus(Guid % pguidCmdGroup, System::UInt32 cCmds, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECMD> ^ prgCmds, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECMDTEXT> ^ pCmdText) = Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseCompletor::QueryStatus;
public virtual 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
override this.QueryStatus : Guid * uint32 * Microsoft.VisualStudio.OLE.Interop.OLECMD[] * Microsoft.VisualStudio.OLE.Interop.OLECMDTEXT[] -> int
Public Overridable 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.

Implements

Applies to

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

public:
 virtual int QueryStatus(Guid % pguidCmdGroup, System::UInt32 cCmds, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECMD> ^ prgCmds, IntPtr pCmdText);
public virtual 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
override this.QueryStatus : Guid * uint32 * Microsoft.VisualStudio.OLE.Interop.OLECMD[] * nativeint -> int
Public Overridable 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