VirtualSnapshotPoint::CompareTo Method (VirtualSnapshotPoint)

 

Compares one VirtualSnapshotPoint to another.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public:
virtual int CompareTo(
	VirtualSnapshotPoint other
) sealed

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.

Return to top
Show: