AutomationProperties.SetLocalizedLandmarkType 方法

定義

設定指定 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)

參數

element
DependencyObject

指定的 DependencyObject

value
String

Platform::String

winrt::hstring

定義 元素之地標類型的當地語系化字串。

Windows 需求

裝置系列
Windows 10 (已於 10.0.10586.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)

適用於

另請參閱