Share via


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.12.0 (in Microsoft.VisualStudio.Shell.12.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: Popup

    The search control’s popup within which to set location.

  • value
    Type: FrameworkElement

    The element to set to the current location.

.NET Framework Security

See Also

Reference

SearchPopupNavigationService Class

Microsoft.VisualStudio.PlatformUI Namespace