次の方法で共有


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

'宣言
Private Function QueryStatus ( _
    ByRef pguidCmdGroup As Guid, _
    cCmds As UInteger, _
    prgCmds As OLECMD(), _
    pCmdText As IntPtr _
) As Integer Implements IOleCommandTarget.QueryStatus
'使用
Dim instance As FlavoredProjectBase
Dim pguidCmdGroup As Guid
Dim cCmds As UInteger
Dim prgCmds As OLECMD()
Dim pCmdText As IntPtr
Dim returnValue As Integer

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

Parameters

Return Value

Type: System.Int32

Implements

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

.NET Framework Security

See Also

Reference

FlavoredProjectBase Class

FlavoredProjectBase Members

Microsoft.VisualStudio.Shell.Flavor Namespace