IUIAutomationElement6.from constructor

IUIAutomationElement6.from(
  1. IUnknown interface
)

Creates a new instance of IUIAutomationElement6 from an existing interface.

This factory constructor calls the queryInterface method to obtain a reference to the IUIAutomationElement6 interface.

Throws a WindowsException if the queryInterface call fails.

Implementation

@pragma('vm:prefer-inline')
factory IUIAutomationElement6.from(IUnknown interface) =>
    interface.queryInterface();