[]
Compares positions of this C1TextPointer with another C1TextPointer.
public int CompareTo(C1TextPointer other)
| Type | Name | Description |
|---|---|---|
| C1TextPointer | other | The C1TextPointer to compare with. |
| Type | Description |
|---|---|
| int | Less than zero: this C1TextPointer precedes position. Zero: this C1TextPointer is at the same location as position. Greater than zero: this C1TextPointer follows position. |
| Type | Condition |
|---|---|
| ArgumentException | Throws ArgumentException if position does not belong to the same text container as this C1TextPointer. |