閱讀英文

共用方式為


SnapshotPoint.CompareTo Method

Determines whether this snapshot is the same as a second snapshot point.

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

Syntax

public int CompareTo(
    SnapshotPoint other
)

Parameters

Return Value

Type: System.Int32
A 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)

.NET Framework Security

See Also

Reference

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace