AutomationProperties.SetLandmarkType 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.
Sets the value of the landmark type attached property for the specified DependencyObject.
public:
static void SetLandmarkType(DependencyObject ^ element, AutomationLandmarkType value);
static void SetLandmarkType(DependencyObject const& element, AutomationLandmarkType const& value);
public static void SetLandmarkType(DependencyObject element, AutomationLandmarkType value);
function setLandmarkType(element, value)
Public Shared Sub SetLandmarkType (element As DependencyObject, value As AutomationLandmarkType)
Parameters
- element
- DependencyObject
The specified DependencyObject.
- value
- AutomationLandmarkType
The value of the landmark type property.
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|