This documentation is archived and is not being maintained.

IVsFilterKeys2 Interface

Controls the binding between keys and commands. You can get an instance of this interface from the SVsFilterKeys (SID_SVsFilterKeys) service. Extends, but does not inherit from, IVsFilterKeys.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

public interface IVsFilterKeys2

The IVsFilterKeys2 type exposes the following members.

Public methodTranslateAcceleratorExTakes a Windows message, translates it into a command, and, optionally, executes the command.