.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DocumentPosition Operators

A position within a document.
Name Description
Equality(DocumentPosition, DocumentPosition) static Compares two DocumentPosition objects for equality.
GreaterThan(DocumentPosition, DocumentPosition) static Evaluates two DocumentPosition instances to determine if one instance is greater than the other.
GreaterThanOrEqual(DocumentPosition, DocumentPosition) static Evaluates two DocumentPosition instances to determine whether one instance is greater than or equal to the other.
Inequality(DocumentPosition, DocumentPosition) static Compares two DocumentPosition objects to determine whether they are not equal.
LessThan(DocumentPosition, DocumentPosition) static Evaluates two DocumentPosition instances to determine whether one instance is less than the other.
LessThanOrEqual(DocumentPosition, DocumentPosition) static Evaluates two DocumentPosition instances to determine whether one instance is less than or equal to the other.
See Also