Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets 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 Function GetCurrentLocation ( _
searchControlPopup As Popup _
) As FrameworkElement
public static FrameworkElement GetCurrentLocation(
Popup searchControlPopup
)
public:
static FrameworkElement^ GetCurrentLocation(
Popup^ searchControlPopup
)
static member GetCurrentLocation :
searchControlPopup:Popup -> FrameworkElement
public static function GetCurrentLocation(
searchControlPopup : Popup
) : FrameworkElement
Parameters
searchControlPopup
Type: PopupThe search control’s popup.
Return Value
Type: FrameworkElement
Returns the current location if the popup is open; otherwise returns nulla null reference (Nothing in Visual Basic) if the popup is not open or the last control navigated to doesn’t exist in the popup.
.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.