AutomationElement Class
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.
Provides access to a UI object that supports the IUIAutomationElement interface.
public ref class AutomationElement sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.UIAutomation.UIAutomationContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AutomationElement final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.UIAutomation.UIAutomationContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AutomationElement
Public NotInheritable Class AutomationElement
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10, version 2104 (introduced in 10.0.20348.0)
|
API contract |
Windows.UI.UIAutomation.UIAutomationContract (introduced in v1.0)
|
Properties
AppUserModelId |
Gets the AppUserModelId (AUMID) of the application that the element belongs to. |
ExecutableFileName |
Gets the filename of the UI Automation provider's executable that the element belongs to. |
IsRemoteSystem |
Gets whether the element belongs to a UI Automation provider that is not hosted natively on the user's local machine. |