Node.FirstChild

Node.FirstChild property

Returns the node’s first child in the tree, or null if the node has no children.

If the node is a Document, this property returns the first node in the list of its direct children.

public Node FirstChild { get; }

Property Value

A Node, or null if there are none.

Remarks

Reference:

DOM Standard.

See Also