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: FrameworkElementThe element to be checked.
Return Value
Type: Boolean
Returns true if the element is the current location; otherwise returns false.
.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.