AutomationProperties.GetLandmarkType(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of the landmark type attached property for the specified 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
Parameters
- element
- DependencyObject
The DependencyObject to check.
Returns
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)
|