共用方式為


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

傳回

實作

適用於