Export (0) Print
Expand All

HtmlElement.FirstChild Property

Gets the next element below this element in the document tree.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public HtmlElement FirstChild { get; }

Property Value

Type: System.Windows.Forms.HtmlElement
An HtmlElement representing the first element contained underneath the current element, in source order.

Use FirstChild in conjunction with NextSibling to walk the document tree for an HTML document.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft