Share via


SearchPopupNavigationService.GetIsCurrentLocation Method

Gets or sets the flag indicating whether the specified element is the current location.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function GetIsCurrentLocation ( _
    element As FrameworkElement _
) As Boolean
public static bool GetIsCurrentLocation(
    FrameworkElement element
)
public:
static bool GetIsCurrentLocation(
    FrameworkElement^ element
)
static member GetIsCurrentLocation : 
        element:FrameworkElement -> bool
public static function GetIsCurrentLocation(
    element : FrameworkElement
) : boolean

Parameters

  • element
    Type: FrameworkElement

    The element to be checked.

Return Value

Type: Boolean
Returns true if the element is the current location; otherwise returns false.

.NET Framework Security

See Also

Reference

SearchPopupNavigationService Class

Microsoft.VisualStudio.PlatformUI Namespace