Share via


AutomationProperties.GetLocalizedLandmarkType(DependencyObject) Method

Definition

Gets the value of the localized landmark type attached property for the specified DependencyObject.

public:
 static Platform::String ^ GetLocalizedLandmarkType(DependencyObject ^ element);
 static winrt::hstring GetLocalizedLandmarkType(DependencyObject const& element);
public static string GetLocalizedLandmarkType(DependencyObject element);
function getLocalizedLandmarkType(element)
Public Shared Function GetLocalizedLandmarkType (element As DependencyObject) As String

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

String

Platform::String

winrt::hstring

The localized string defining the landmark type of the element.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to

See also