'Declaration
Function RangeFromChild( _ ByVal childElement As IRawElementProviderSimple _ ) As ITextRangeProvider
ITextRangeProvider RangeFromChild( IRawElementProviderSimple childElement )
Parameters
- childElement
- The child element. A provider should check that the passed element is a child of the text container, and should throw an InvalidOperationException if it is not.
Return Value
A range that spans the child element.