Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares one VirtualSnapshotPoint to another.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Function CompareTo ( _
other As VirtualSnapshotPoint _
) As Integer
public int CompareTo(
VirtualSnapshotPoint other
)
public:
virtual int CompareTo(
VirtualSnapshotPoint other
) sealed
abstract CompareTo :
other:VirtualSnapshotPoint -> int
override CompareTo :
other:VirtualSnapshotPoint -> int
public final function CompareTo(
other : VirtualSnapshotPoint
) : int
Parameters
- other
Type: Microsoft.VisualStudio.Text.VirtualSnapshotPoint
The second VirtualSnapshotPoint.
Return Value
Type: System.Int32
If the positions of the virtual snapshot points are different, returns the difference in positions, otherwise returns the difference in the number of virtual spaces.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.