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: FrameworkElementThe element for which to set the flag.
value
Type: BooleanThe value to which the flag is set.
.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.