FlavoredProjectBase.IOleCommandTarget.QueryStatus Method
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Private Function QueryStatus ( _
ByRef pguidCmdGroup As Guid, _
cCmds As UInteger, _
prgCmds As OLECMD(), _
pCmdText As IntPtr _
) As Integer Implements IOleCommandTarget.QueryStatus
int IOleCommandTarget.QueryStatus(
ref Guid pguidCmdGroup,
uint cCmds,
OLECMD[] prgCmds,
IntPtr pCmdText
)
Parameters
- pguidCmdGroup
Type: System.Guid%
- cCmds
Type: System.UInt32
- prgCmds
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECMD[]
- pCmdText
Type: System.IntPtr
Return Value
Type: System.Int32
Implements
IOleCommandTarget.QueryStatus(Guid%, UInt32, array<OLECMD[], IntPtr)
.NET Framework Security
- 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.