次の方法で共有


FlavoredProjectBase.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

'宣言
Protected Overridable Function QueryStatusCommand ( _
    itemid As UInteger, _
    ByRef pguidCmdGroup As Guid, _
    cCmds As UInteger, _
    prgCmds As OLECMD(), _
    pCmdText As IntPtr _
) As Integer
'使用
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 = Me.QueryStatusCommand(itemid, _
    pguidCmdGroup, cCmds, prgCmds, pCmdText)
protected virtual int QueryStatusCommand(
    uint itemid,
    ref Guid pguidCmdGroup,
    uint cCmds,
    OLECMD[] prgCmds,
    IntPtr pCmdText
)
protected:
virtual int QueryStatusCommand(
    unsigned int itemid, 
    Guid% pguidCmdGroup, 
    unsigned int cCmds, 
    array<OLECMD>^ prgCmds, 
    IntPtr pCmdText
)
abstract QueryStatusCommand : 
        itemid:uint32 * 
        pguidCmdGroup:Guid byref * 
        cCmds:uint32 * 
        prgCmds:OLECMD[] * 
        pCmdText:IntPtr -> int 
override QueryStatusCommand : 
        itemid:uint32 * 
        pguidCmdGroup:Guid byref * 
        cCmds:uint32 * 
        prgCmds:OLECMD[] * 
        pCmdText:IntPtr -> int 
protected function QueryStatusCommand(
    itemid : uint, 
    pguidCmdGroup : Guid, 
    cCmds : uint, 
    prgCmds : OLECMD[], 
    pCmdText : IntPtr
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

FlavoredProjectBase Class

FlavoredProjectBase Members

Microsoft.VisualStudio.Shell.Flavor Namespace