Input for WinForms | ComponentOne
C1.Win.Accessibility.Items Namespace / IUiaEdit Interface / RangeFromChild Method
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.

In This Topic
    RangeFromChild Method (IUiaEdit)
    In This Topic
    Retrieves the range of a child object.
    Syntax
    'Declaration
     
    
    Function RangeFromChild( _
       ByVal childElement As IRawElementProviderSimple _
    ) As ITextRangeProvider

    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.
    See Also