ICommandProvider Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

public interface ICommandProvider

The ICommandProvider type exposes the following members.

  NameDescription
Public methodGetCommandHandlerReturns the command event handler from the specified context menu that contains the specified command.
Public methodGetTypeSpecificCommandsReturns a list of command IDs for the type-specific commands that support the associated custom test type that are in the specified context menu.
Public methodQueryStatusReturns 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

Community Additions

Show: