[]
Specifies the result of comparing two range locations.
public enum LocationRelation
Public Enum LocationRelation
Name | Description |
---|---|
AdjacentAfter | This instance occurs after, and is adjacent to, the other range. |
AdjacentBefore | This instance occurs before, and is adjacent to, the other range. |
After | This instance occurs after the other range. |
Before | This instance occurs before the other range. |
Contains | This instance contains the other range, and both start and end of this instance are outside the other range. |
ContainsEnd | This instance contains the other range and both have the same end, but different start locations. |
ContainsStart | This instance contains the other range and both have the same start, but different end locations. |
Equal | This instance and the other range represent the same range. |
Inside | This instance is inside the other range, and both start and end of this instance are inside the other range. |
InsideEnd | This instance is inside the other range and both have the same end, but different start locations. |
InsideStart | This instance is inside the other range and both have the same start, but different end locations. |
OverlapsAfter | This instance starts inside the other range and overlaps its end. |
OverlapsBefore | This instance starts before the other range and overlaps its start. |
Unrelated | This instance and the other range are in different bodies. |