NodePreviousSibling Property

The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent's childNodes list, or null if the specified node is the first in that list.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.1
Syntax
public Node PreviousSibling { get; }

Property Value

Type: Node

A Node representing the previous sibling of the current node, or null if there are none.

Return Value

Type: Node
Remarks

Reference:

See Also