SearchPopupNavigationService.GetCurrentLocationSetMode Method
Obtains the value tracking 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 Function GetCurrentLocationSetMode ( _
searchControlPopup As Popup _
) As CurrentLocationSetMode
public static CurrentLocationSetMode GetCurrentLocationSetMode(
Popup searchControlPopup
)
Parameters
- searchControlPopup
Type: System.Windows.Controls.Primitives.Popup
The popup within which the location is tracked.
Return Value
Type: Microsoft.VisualStudio.PlatformUI.CurrentLocationSetMode
Returns the CurrentLocationSetMode value.
.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.