Export (0) Print
Expand All

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)

public interface ICommandProvider

The ICommandProvider type exposes the following members.

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.

Community Additions

© 2015 Microsoft