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:
property HtmlElement^ FirstChild {
	HtmlElement^ 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
Available since 2.0
Return to top
Show: