Udostępnij za pośrednictwem


AutomationProperties.SetLocalizedLandmarkType Method

Definition

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

public:
 static void SetLocalizedLandmarkType(DependencyObject ^ element, Platform::String ^ value);
 static void SetLocalizedLandmarkType(DependencyObject const& element, winrt::hstring const& value);
public static void SetLocalizedLandmarkType(DependencyObject element, string value);
function setLocalizedLandmarkType(element, value)
Public Shared Sub SetLocalizedLandmarkType (element As DependencyObject, value As String)

Parameters

element
DependencyObject

The specified DependencyObject.

value
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