Partager via


SearchPopupNavigationService.SetIsCurrentLocation Method

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 Sub SetIsCurrentLocation ( _
    element As FrameworkElement, _
    value As Boolean _
)
public static void SetIsCurrentLocation(
    FrameworkElement element,
    bool value
)
public:
static void SetIsCurrentLocation(
    FrameworkElement^ element, 
    bool value
)
static member SetIsCurrentLocation : 
        element:FrameworkElement * 
        value:bool -> unit
public static function SetIsCurrentLocation(
    element : FrameworkElement, 
    value : boolean
)

Parameters

  • element
    Type: FrameworkElement

    The element for which to set the flag.

  • value
    Type: Boolean

    The value to which the flag is set.

.NET Framework Security

See Also

Reference

SearchPopupNavigationService Class

Microsoft.VisualStudio.PlatformUI Namespace