Condividi tramite


FlavoredProjectBase.IVsUIHierarchy.QueryStatusCommand Method

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Dichiarazione
Private Function QueryStatusCommand ( _
    itemid As UInteger, _
    ByRef pguidCmdGroup As Guid, _
    cCmds As UInteger, _
    prgCmds As OLECMD(), _
    pCmdText As IntPtr _
) As Integer Implements IVsUIHierarchy.QueryStatusCommand
'Utilizzo
Dim instance As FlavoredProjectBase
Dim itemid As UInteger
Dim pguidCmdGroup As Guid
Dim cCmds As UInteger
Dim prgCmds As OLECMD()
Dim pCmdText As IntPtr
Dim returnValue As Integer

returnValue = CType(instance, IVsUIHierarchy).QueryStatusCommand(itemid, _
    pguidCmdGroup, cCmds, prgCmds, pCmdText)
int IVsUIHierarchy.QueryStatusCommand(
    uint itemid,
    ref Guid pguidCmdGroup,
    uint cCmds,
    OLECMD[] prgCmds,
    IntPtr pCmdText
)
private:
virtual int QueryStatusCommand(
    unsigned int itemid, 
    Guid% pguidCmdGroup, 
    unsigned int cCmds, 
    array<OLECMD>^ prgCmds, 
    IntPtr pCmdText
) sealed = IVsUIHierarchy::QueryStatusCommand
private abstract QueryStatusCommand : 
        itemid:uint32 * 
        pguidCmdGroup:Guid byref * 
        cCmds:uint32 * 
        prgCmds:OLECMD[] * 
        pCmdText:IntPtr -> int 
private override QueryStatusCommand : 
        itemid:uint32 * 
        pguidCmdGroup:Guid byref * 
        cCmds:uint32 * 
        prgCmds:OLECMD[] * 
        pCmdText:IntPtr -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IVsUIHierarchy.QueryStatusCommand(UInt32, Guid%, UInt32, array<OLECMD[], IntPtr)

.NET Framework Security

See Also

Reference

FlavoredProjectBase Class

FlavoredProjectBase Members

Microsoft.VisualStudio.Shell.Flavor Namespace