SearchControlDataSource.OnNotifyNavigationKey Method
Provides class handling for the search control data source to intercept specific key presses for navigation between the results already found.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Overridable Function OnNotifyNavigationKey ( _
navKey As VSConstants.VsSearchNavigationKeys, _
modifiers As VSConstants.VsUIAccelModifiers _
) As Boolean
protected virtual bool OnNotifyNavigationKey(
VSConstants.VsSearchNavigationKeys navKey,
VSConstants.VsUIAccelModifiers modifiers
)
protected:
virtual bool OnNotifyNavigationKey(
VSConstants::VsSearchNavigationKeys navKey,
VSConstants::VsUIAccelModifiers modifiers
)
abstract OnNotifyNavigationKey :
navKey:VSConstants.VsSearchNavigationKeys *
modifiers:VSConstants.VsUIAccelModifiers -> bool
override OnNotifyNavigationKey :
navKey:VSConstants.VsSearchNavigationKeys *
modifiers:VSConstants.VsUIAccelModifiers -> bool
protected function OnNotifyNavigationKey(
navKey : VSConstants.VsSearchNavigationKeys,
modifiers : VSConstants.VsUIAccelModifiers
) : boolean
Parameters
navKey
Type: Microsoft.VisualStudio.VSConstants.VsSearchNavigationKeysThe key that was pressed.
modifiers
Type: Microsoft.VisualStudio.VSConstants.VsUIAccelModifiersThe modifier or accelerator keys that were pressed.
Return Value
Type: Boolean
Returns true if the key was processed; otherwise, returns false if the search control should process it.Boolean.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.