Enum DocumentPositions
- Namespace
- AngleSharp.Dom
- Assembly
- AngleSharp.dll
Enumeration of possible document position values.
[Flags]
[DomName("Document")]
public enum DocumentPositions : byte
- Extension Methods
Fields
[DomName("DOCUMENT_POSITION_CONTAINED_BY")] ContainedBy = 16
The node is contained in the other element.
[DomName("DOCUMENT_POSITION_CONTAINS")] Contains = 8
The node contains the other element.
[DomName("DOCUMENT_POSITION_DISCONNECTED")] Disconnected = 1
There is no relation.
[DomName("DOCUMENT_POSITION_FOLLOWING")] Following = 4
The node follows the other element.
[DomName("DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC")] ImplementationSpecific = 32
The relation is implementation specific.
[DomName("DOCUMENT_POSITION_PRECEDING")] Preceding = 2
The node preceeds the other element.
Same = 0
It is the same node.