AutomationProperties.GetLandmarkType(DependencyObject) 方法

定義

取得指定 DependencyObject之地標類型附加屬性的值。

public:
 static AutomationLandmarkType GetLandmarkType(DependencyObject ^ element);
 static AutomationLandmarkType GetLandmarkType(DependencyObject const& element);
public static AutomationLandmarkType GetLandmarkType(DependencyObject element);
function getLandmarkType(element)
Public Shared Function GetLandmarkType (element As DependencyObject) As AutomationLandmarkType

參數

element
DependencyObject

要檢查 的 DependencyObject

傳回

元素的地標類型

Windows 需求

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

適用於

另請參閱