IUIAutomationTextRangeArray constructor

IUIAutomationTextRangeArray(
  1. VTablePointer ptr
)

Creates a new instance of IUIAutomationTextRangeArray from a VTablePointer.

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

Implementation

IUIAutomationTextRangeArray(super.ptr)
  : _vtable = ptr.value.cast<IUIAutomationTextRangeArrayVtbl>().ref;