LoadTestTuip.QueryStatus Method (CommandID, CommandID, IList)
Returns the status of the context menu command by using the specified context menu, the specified command, and a list of items that was selected at the time that the context menu was displayed.
Namespace: Microsoft.VisualStudio.TestTools.LoadTest
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestPackage (in Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll)
Syntax
public CommandStatus QueryStatus(
CommandID contextMenuId,
CommandID commandId,
IList items
)
public:
virtual CommandStatus^ QueryStatus(
CommandID^ contextMenuId,
CommandID^ commandId,
IList^ items
) sealed
abstract QueryStatus :
contextMenuId:CommandID *
commandId:CommandID *
items:IList -> CommandStatus
override QueryStatus :
contextMenuId:CommandID *
commandId:CommandID *
items:IList -> CommandStatus
Public Function QueryStatus (
contextMenuId As CommandID,
commandId As CommandID,
items As IList
) As CommandStatus
Parameters
contextMenuId
Type: System.ComponentModel.Design.CommandIDThe CommandID for a context menu.
commandId
Type: System.ComponentModel.Design.CommandIDThe CommandID for a command.
items
Type: System.Collections.IListA list of items that was selected at the time the context menu was displayed.
Return Value
Type: Microsoft.VisualStudio.TestTools.Vsip.CommandStatus
A command status object.
Implements
ICommandProvider.QueryStatus(CommandID, CommandID, IList)
See Also
LoadTestTuip Class
Microsoft.VisualStudio.TestTools.LoadTest Namespace
Return to top