Compartilhar via


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

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

See Also

Reference

SearchControlDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace