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.1
Syntax [FlagsAttribute]
public enum DocumentPosition
Members
| Member name | Value | Description |
---|
| Unspecified | 0 |
The position is not specified.
|
| Disconnected | 1 |
The nodes are disconnected.
|
| Preceding | 2 |
The position of the other node precedes the position of the reference node.
|
| Following | 4 |
The position of the other node follows the position of the reference node.
|
| Contains | 8 |
The reference node contains the other node.
|
| ContainedBy | 16 | The other node contains the reference node. |
| ImplementationSpecific | 32 | The node positions depend on the DOM implementation and cannot be compared. |
See Also