SnapshotPoint::CompareTo Method (SnapshotPoint)
Visual Studio 2015
Determines whether this snapshot is the same as a second snapshot point.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- other
-
Type:
Microsoft.VisualStudio.Text::SnapshotPoint
The second snapshot point.
Return Value
Type: System::Int32A negative integer if the position of this snapshot point occurs before the second snapshot point, a positive integer if the position of this snapshot point occurs before the second snapshot point, and zero if the positions are the same.
Implements
IComparable<T>::CompareTo(T)
Show: