Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This class supports the product infrastructure and is not intended to be used directly from your code.
Queries the object for the status of one or more commands generated by user interface events.
Namespace: Microsoft.VisualStudio.Data.Tools.SqlObjectExplorer
Assembly: Microsoft.VisualStudio.Data.Tools.SqlObjectExplorer (in Microsoft.VisualStudio.Data.Tools.SqlObjectExplorer.dll)
Syntax
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:nativeint -> int
private override QueryStatus :
pguidCmdGroup:Guid byref *
cCmds:uint32 *
prgCmds:OLECMD[] *
pCmdText:nativeint -> int
Private Function QueryStatus (
ByRef pguidCmdGroup As Guid,
cCmds As UInteger,
prgCmds As OLECMD(),
pCmdText As IntPtr
) As Integer
Implements IOleCommandTarget.QueryStatus
Parameters
pguidCmdGroup
Type: System.GuidThe unique identifier of the command group.
cCmds
Type: System.UInt32The number of commands in the prgCmds array.
prgCmds
Type: Microsoft.VisualStudio.OLE.Interop.OLECMD[]The caller-allocated array of OLECMD[]structures that indicates the commands for which the caller needs status information.
pCmdText
Type: System.IntPtrThe pointer to an OLECMDTEXT structure in which to return name and/or status information of a single command.
Return Value
Type: System.Int32
The object for the status of one or more commands generated by user interface events.
Implements
IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr)
See Also
SqlObjectExplorerPackage Class
Microsoft.VisualStudio.Data.Tools.SqlObjectExplorer Namespace
Return to top