SearchPopupNavigationService.SetCurrentLocationSetMode Method
Sets the value which tracks whether the CurrentLocation was last changed by keyboard or by mouse.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Shared Sub SetCurrentLocationSetMode ( _
searchControlPopup As Popup, _
value As CurrentLocationSetMode _
)
public static void SetCurrentLocationSetMode(
Popup searchControlPopup,
CurrentLocationSetMode value
)
Parameters
- searchControlPopup
Type: System.Windows.Controls.Primitives.Popup
The popup within which the location is tracked.
- value
Type: Microsoft.VisualStudio.PlatformUI.CurrentLocationSetMode
The value indicating keyboard or mouse.
.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.