共用方式為


IVsWindowSearch.OnNavigationKeyDown(UInt32, UInt32) Method

Definition

Allows the window to preview some keydown events that can be used to navigate between the search results or take action on them

public:
 bool OnNavigationKeyDown(System::UInt32 dwNavigationKey, System::UInt32 dwModifiers);
public:
 bool OnNavigationKeyDown(unsigned int dwNavigationKey, unsigned int dwModifiers);
bool OnNavigationKeyDown(unsigned int dwNavigationKey, unsigned int dwModifiers);
public bool OnNavigationKeyDown (uint dwNavigationKey, uint dwModifiers);
abstract member OnNavigationKeyDown : uint32 * uint32 -> bool
Public Function OnNavigationKeyDown (dwNavigationKey As UInteger, dwModifiers As UInteger) As Boolean

Parameters

dwNavigationKey
UInt32

The navigation __VSSEARCHNAVIGATIONKEY.

dwModifiers
UInt32

The key __VSUIACCELMODIFIERS.

Returns

True if the event was handled, otherwise false.

Applies to