Share via


OleCommandTargetHelper.AddQueryStatusHandler Method

Adds a query status for a specified guid and cmdID pair.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Sub AddQueryStatusHandler ( _
    guid As Guid, _
    cmdID As UInteger, _
    queryStatusHandler As OleCommandTargetHelper..::..QueryStatusHandler _
)
'Usage
Dim instance As OleCommandTargetHelper
Dim guid As Guid
Dim cmdID As UInteger
Dim queryStatusHandler As OleCommandTargetHelper..::..QueryStatusHandler

instance.AddQueryStatusHandler(guid, _
    cmdID, queryStatusHandler)
public void AddQueryStatusHandler(
    Guid guid,
    uint cmdID,
    OleCommandTargetHelper..::..QueryStatusHandler queryStatusHandler
)
public:
void AddQueryStatusHandler(
    Guid guid, 
    unsigned int cmdID, 
    OleCommandTargetHelper..::..QueryStatusHandler^ queryStatusHandler
)
public function AddQueryStatusHandler(
    guid : Guid, 
    cmdID : uint, 
    queryStatusHandler : OleCommandTargetHelper..::..QueryStatusHandler
)
member AddQueryStatusHandler : 
        guid:Guid * 
        cmdID:uint32 * 
        queryStatusHandler:OleCommandTargetHelper..::..QueryStatusHandler -> unit 

Parameters

.NET Framework Security

See Also

Reference

OleCommandTargetHelper Class

OleCommandTargetHelper Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace