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
'Declaration
Public Shared Sub SetCurrentLocationSetMode ( _
searchControlPopup As Popup, _
value As CurrentLocationSetMode _
)
public static void SetCurrentLocationSetMode(
Popup searchControlPopup,
CurrentLocationSetMode value
)
public:
static void SetCurrentLocationSetMode(
Popup^ searchControlPopup,
CurrentLocationSetMode value
)
static member SetCurrentLocationSetMode :
searchControlPopup:Popup *
value:CurrentLocationSetMode -> unit
public static function SetCurrentLocationSetMode(
searchControlPopup : Popup,
value : CurrentLocationSetMode
)
Parameters
searchControlPopup
Type: System.Windows.Controls.Primitives.PopupThe popup within which the location is tracked.
value
Type: Microsoft.VisualStudio.PlatformUI.CurrentLocationSetModeThe 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.