Επεξεργασία

Κοινή χρήση μέσω


HtmlElement.FirstChild Property

Definition

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

public:
 property System::Windows::Forms::HtmlElement ^ FirstChild { System::Windows::Forms::HtmlElement ^ get(); };
public System.Windows.Forms.HtmlElement FirstChild { get; }
public System.Windows.Forms.HtmlElement? FirstChild { get; }
member this.FirstChild : System.Windows.Forms.HtmlElement
Public ReadOnly Property FirstChild As HtmlElement

Property Value

An HtmlElement representing the first element contained underneath the current element, in source order.

Remarks

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

Applies to

See also