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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Shared Function GetIsCurrentLocation ( _
element As FrameworkElement _
) As Boolean
public static bool GetIsCurrentLocation(
FrameworkElement element
)
Parameters
- element
Type: System.Windows.FrameworkElement
The element to be checked.
Return Value
Type: System.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.