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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Protected Overridable Function OnNotifyNavigationKey ( _
navKey As VSConstants.VsSearchNavigationKeys, _
modifiers As VSConstants.VsUIAccelModifiers _
) As Boolean
protected virtual bool OnNotifyNavigationKey(
VSConstants.VsSearchNavigationKeys navKey,
VSConstants.VsUIAccelModifiers modifiers
)
Parameters
- navKey
Type: Microsoft.VisualStudio.VSConstants.VsSearchNavigationKeys
The key that was pressed.
- modifiers
Type: Microsoft.VisualStudio.VSConstants.VsUIAccelModifiers
The modifier or accelerator keys that were pressed.
Return Value
Type: System.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.