AutomationProperties.GetLocalizedLandmarkType(DependencyObject) 方法

定義

取得指定 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

參數

element
DependencyObject

要檢查 的 DependencyObject

傳回

String

Platform::String

winrt::hstring

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

Windows 需求

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

適用於

另請參閱