Click or drag to resize

DocumentPosition Enumeration

Enumeration of the document position that represent the relationship between two nodes within the Document.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
[FlagsAttribute]
public enum DocumentPosition
Members
  Member nameValueDescription
Unspecified0 The position is not specified.
Disconnected1 The nodes are disconnected.
Preceding2 The position of the other node precedes the position of the reference node.
Following4 The position of the other node follows the position of the reference node.
Contains8 The reference node contains the other node.
ContainedBy16The other node contains the reference node.
ImplementationSpecific32The node positions depend on the DOM implementation and cannot be compared.
See Also