TextSpan.CompareTo(TextSpan) 方法

定义

比较当前实例与另一个 TextSpan 实例。

public:
 virtual int CompareTo(Microsoft::CodeAnalysis::Text::TextSpan other);
public int CompareTo (Microsoft.CodeAnalysis.Text.TextSpan other);
abstract member CompareTo : Microsoft.CodeAnalysis.Text.TextSpan -> int
override this.CompareTo : Microsoft.CodeAnalysis.Text.TextSpan -> int
Public Function CompareTo (other As TextSpan) As Integer

参数

other
TextSpan

返回

实现

适用于