VsIntellisenseCompletorClass.QueryStatus Method

Gets the status of the completor.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

声明
Public Overridable Function QueryStatus ( _
    ByRef pguidCmdGroup As Guid, _
    cCmds As UInteger, _
    <OutAttribute> prgCmds As OLECMD(), _
    <OutAttribute> pCmdText As OLECMDTEXT() _
) As Integer
public virtual int QueryStatus(
    ref Guid pguidCmdGroup,
    uint cCmds,
    OLECMD[] prgCmds,
    OLECMDTEXT[] pCmdText
)
public:
virtual int QueryStatus(
    [InAttribute] Guid% pguidCmdGroup, 
    [InAttribute] unsigned int cCmds, 
    [InAttribute] [OutAttribute] array<OLECMD>^ prgCmds, 
    [InAttribute] [OutAttribute] array<OLECMDTEXT>^ pCmdText
)
abstract QueryStatus : 
        pguidCmdGroup:Guid byref * 
        cCmds:uint32 * 
        prgCmds:OLECMD[] byref * 
        pCmdText:OLECMDTEXT[] byref -> int 
override QueryStatus : 
        pguidCmdGroup:Guid byref * 
        cCmds:uint32 * 
        prgCmds:OLECMD[] byref * 
        pCmdText:OLECMDTEXT[] byref -> int 
public function QueryStatus(
    pguidCmdGroup : Guid, 
    cCmds : uint, 
    prgCmds : OLECMD[], 
    pCmdText : OLECMDTEXT[]
) : int

Parameters

  • pguidCmdGroup
    Type: System.Guid%
    The GUID of the command group.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsIntellisenseCompletor.QueryStatus(Guid%, UInt32, array<OLECMD[], array<OLECMDTEXT[])

.NET Framework Security

See Also

Reference

VsIntellisenseCompletorClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace