Compartir a través de


__VSSEARCHNAVIGATIONKEY 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.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

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

Members

Member name Description
SNK_DOWN The down arrow key was pressed.
SNK_END The End key was pressed.
SNK_ENTER The Enter key was pressed.
SNK_HOME The Home key was pressed.
SNK_PAGEDOWN The Page Down key was pressed.
SNK_PAGEUP The Page Up key was pressed.
SNK_UP The up arrow was pressed.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace