ICommandProvider Interface
Represents an interface for custom test types to provide new commands to menus and toolbars in the testing framework.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'宣言
Public Interface ICommandProvider
public interface ICommandProvider
public interface class ICommandProvider
type ICommandProvider = interface end
public interface ICommandProvider
The ICommandProvider type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetCommandHandler | Returns the command event handler from the specified context menu that contains the specified command. | |
GetTypeSpecificCommands | Returns a list of command IDs for the type-specific commands that support the associated custom test type that are in the specified context menu. | |
QueryStatus | Returns the status of the context menu command by using the specified context menu, the specified command, and a list of items that were selected at the time the context menu was displayed. |
Top