語言

Rune.CompareTo(Rune) 方法

定義

比較當前實例與指定的 Rune 實例。

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

參數

other
Rune

要用這個實例和當前實例比較。

傳回

一個帶符號的整數表示此實例在排序順序中相關係於:other
- 小於零:此實例發生 other在 之前。
- 零:該實例在排序順序 other中與 相同。
- 大於零:此實例可得 other。

實作

適用於