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
'Dichiarazione
Private Function QueryStatus ( _
ByRef pguidCmdGroup As Guid, _
cCmds As UInteger, _
prgCmds As OLECMD(), _
pCmdText As IntPtr _
) As Integer Implements IOleCommandTarget.QueryStatus
'Utilizzo
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
- 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.