IUIAutomationValuePattern constructor

IUIAutomationValuePattern(
  1. VTablePointer ptr
)

Creates a new instance of IUIAutomationValuePattern from a VTablePointer.

This constructor requires a valid pointer to the IUIAutomationValuePattern interface. The ptr must not be nullptr; otherwise, an assertion error is thrown.

Implementation

IUIAutomationValuePattern(super.ptr)
  : _vtable = ptr.value.cast<IUIAutomationValuePatternVtbl>().ref;