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
- guid
Type: System.Guid
The Guid
- cmdID
Type: System.UInt32
The command ID
- queryStatusHandler
Type: Microsoft.VisualStudio.Data.Schema.Project.Common.UI.OleCommandTargetHelper.QueryStatusHandler
The query status handler
.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.
See Also
Reference
OleCommandTargetHelper Members
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace