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
- guidGroup
Type: System.Guid%
- nCmdId
Type: System.UInt32
- oleCmd
Type: []
- oleText
Type: System.IntPtr
Return Value
Type: System.Int32
Implements
IOleCommandTarget.QueryStatus(Guid%, UInt32, [], IntPtr)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.