SearchPopupNavigationService.SetCurrentLocation Method
Sets the current navigation location in a search control’s popup when the popup is open.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Sub SetCurrentLocation ( _
searchControlPopup As Popup, _
value As FrameworkElement _
)
public static void SetCurrentLocation(
Popup searchControlPopup,
FrameworkElement value
)
public:
static void SetCurrentLocation(
Popup^ searchControlPopup,
FrameworkElement^ value
)
static member SetCurrentLocation :
searchControlPopup:Popup *
value:FrameworkElement -> unit
public static function SetCurrentLocation(
searchControlPopup : Popup,
value : FrameworkElement
)
Parameters
searchControlPopup
Type: System.Windows.Controls.Primitives.PopupThe search control’s popup within which to set location.
value
Type: System.Windows.FrameworkElementThe element to set to the current location.
.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.