Rune.CompareTo(Rune) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較當前實例與指定的 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。