Share via


SqlObjectExplorerPackage.IOleCommandTarget.QueryStatus Method (Guid, UInt32, OLECMD[], IntPtr)

 

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.Guid

    The unique identifier of the command group.

  • cCmds
    Type: System.UInt32

    The number of commands in the prgCmds array.

  • pCmdText
    Type: System.IntPtr

    The 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