CommandHandler.QueryStatus Method
Namespace: Microsoft.VisualStudio.TeamFoundation
Assembly: Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)
Syntax
'Declaration
Public Function QueryStatus ( _
ByRef pguidCmdGroup As Guid, _
nCmds As UInteger, _
prgCmds As OLECMD(), _
pCmdText As IntPtr _
) As Integer
public int QueryStatus(
ref Guid pguidCmdGroup,
uint nCmds,
OLECMD[] prgCmds,
IntPtr pCmdText
)
public:
virtual int QueryStatus(
Guid% pguidCmdGroup,
unsigned int nCmds,
array<OLECMD>^ prgCmds,
IntPtr pCmdText
) sealed
abstract QueryStatus :
pguidCmdGroup:Guid byref *
nCmds:uint32 *
prgCmds:OLECMD[] *
pCmdText:IntPtr -> int
override QueryStatus :
pguidCmdGroup:Guid byref *
nCmds:uint32 *
prgCmds:OLECMD[] *
pCmdText:IntPtr -> int
public final function QueryStatus(
pguidCmdGroup : Guid,
nCmds : uint,
prgCmds : OLECMD[],
pCmdText : IntPtr
) : int
Parameters
- pguidCmdGroup
Type: System.Guid%
- nCmds
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.