Share via


AutomationElement Class

Definition

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
Object Platform::Object IInspectable AutomationElement
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.

Applies to