Partager via


__VSSEARCHNAVIGATIONKEY2 Enumeration

Provides an enumeration of keyboard keys (enter, navigation arrows, page up/page down) that are forwarded by the common search control to your IVsWindowSearch implementation (through a call to OnNavigationKeyDown). You can then intercept these key presses and provide actions specific to your window (for example, select the previous or next search result, execute the currently-selected result, and so on).

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

Syntax

'Declaration
Public Enumeration __VSSEARCHNAVIGATIONKEY2
public enum __VSSEARCHNAVIGATIONKEY2
public enum class __VSSEARCHNAVIGATIONKEY2
type __VSSEARCHNAVIGATIONKEY2
public enum __VSSEARCHNAVIGATIONKEY2

Members

Member name Description
SNK_ESCAPE The ESC key was pressed.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace