IParentNode Interface

IParentNode interface

Defines the IParentNode interface that is implemented by any possible parents.

public interface IParentNode : IElementTraversal


ChildElementCount { get; }The childElementCount attribute must return the number of children of the context object that are elements.
Children { get; }Returns the child elements.
FirstElementChild { get; }Returns the first child that is an element, and null otherwise.
LastElementChild { get; }Returns the last child that is an element, and null otherwise.


QuerySelector(string)Returns the first element that is a descendant of node that matches selectors.
QuerySelectorAll(string)Returns all element descendants of node that match selectors.

See Also