Share via


CommandHandler.QueryStatus Method

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'Declaration
Public Function QueryStatus ( _
    ByRef pguidCmdGroup As Guid, _
    nCmds As UInteger, _
    prgCmds As OLECMD(), _
    pCmdText As IntPtr _
) As Integer
public int QueryStatus(
    ref Guid pguidCmdGroup,
    uint nCmds,
    OLECMD[] prgCmds,
    IntPtr pCmdText
)
public:
virtual int QueryStatus(
    Guid% pguidCmdGroup, 
    unsigned int nCmds, 
    array<OLECMD>^ prgCmds, 
    IntPtr pCmdText
) sealed
abstract QueryStatus : 
        pguidCmdGroup:Guid byref * 
        nCmds:uint32 * 
        prgCmds:OLECMD[] * 
        pCmdText:IntPtr -> int  
override QueryStatus : 
        pguidCmdGroup:Guid byref * 
        nCmds:uint32 * 
        prgCmds:OLECMD[] * 
        pCmdText:IntPtr -> int
public final function QueryStatus(
    pguidCmdGroup : Guid, 
    nCmds : uint, 
    prgCmds : OLECMD[], 
    pCmdText : IntPtr
) : int

Parameters

Return Value

Type: System.Int32

Implements

IOleCommandTarget.QueryStatus(Guid%, UInt32, array<OLECMD[], IntPtr)

.NET Framework Security

See Also

Reference

CommandHandler Class

Microsoft.VisualStudio.TeamFoundation Namespace