Click or drag to resize

INodeCompareDocumentPosition Method

Compares position of the current node against another node in a DOM tree.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.3
Syntax
C#
DocumentPosition CompareDocumentPosition(
	INode otherNode
)

Parameters

otherNode
Type: DotNetBrowser.DomINode
The node to be compared to the current node

Return Value

Type: DocumentPosition
The document position of the node specified by the otherNode parameter relates to the position of the current node.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe INode has already been disposed.
See Also