WindowPane.IOleCommandTarget.QueryStatus Method

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

Syntax

'宣言
Private Function QueryStatus ( _
    ByRef guidGroup As Guid, _
    nCmdId As UInteger, _
    oleCmd As OLECMD(), _
    oleText As IntPtr _
) As Integer Implements IOleCommandTarget.QueryStatus
'使用
Dim instance As WindowPane
Dim guidGroup As Guid
Dim nCmdId As UInteger
Dim oleCmd As OLECMD()
Dim oleText As IntPtr
Dim returnValue As Integer

returnValue = CType(instance, IOleCommandTarget).QueryStatus(guidGroup, _
    nCmdId, oleCmd, oleText)
int IOleCommandTarget.QueryStatus(
    ref Guid guidGroup,
    uint nCmdId,
    OLECMD[] oleCmd,
    IntPtr oleText
)
private:
virtual int QueryStatus(
    Guid% guidGroup, 
    unsigned int nCmdId, 
    array<OLECMD>^ oleCmd, 
    IntPtr oleText
) sealed = IOleCommandTarget::QueryStatus
JScript does not support explicit interface implementations.

Parameters

  • oleCmd
    Type: []

Return Value

Type: System.Int32

Implements

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

Permissions

See Also

Reference

WindowPane Class

WindowPane Members

Microsoft.VisualStudio.Shell Namespace