InputPanel for WinForms | ComponentOne
C1.Win.4.8 Assembly / C1.Framework.Html Namespace / HtmlElement Class / GetParentOfType Method
Type of element we're looking for.

In This Topic
    GetParentOfType Method (HtmlElement)
    In This Topic
    Navigates up the tree to find an ancestor of a given type.
    Syntax
    'Declaration
     
    Public Function GetParentOfType( _
       ByVal type As Type _
    ) As Element
    public Element GetParentOfType( 
       Type type
    )

    Parameters

    type
    Type of element we're looking for.

    Return Value

    A reference to the ancestor of the given type, null if not found.
    See Also