Compares this instance to a specified ink segment and returns an indication of their relative values.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public int CompareTo( InkSegment other )
Public Function CompareTo ( _ other As InkSegment _ ) As Integer
public: virtual int CompareTo( InkSegment^ other ) sealed
Parameters
- other (InkSegment)
- An ink segment to compare.
Return Value
A signed number indicating the relative values of this instance and other.
Less than zero -- this instance is less than other. Zero -- this
instance is equal to value. Greater than zero -- this instance is greater than
other.