共用方式為


StringSegmentComparer 類別

定義

public ref class StringSegmentComparer : System::Collections::Generic::IEqualityComparer<Microsoft::Extensions::Primitives::StringSegment>
public ref class StringSegmentComparer : System::Collections::Generic::IComparer<Microsoft::Extensions::Primitives::StringSegment>, System::Collections::Generic::IEqualityComparer<Microsoft::Extensions::Primitives::StringSegment>
public class StringSegmentComparer : System.Collections.Generic.IEqualityComparer<Microsoft.Extensions.Primitives.StringSegment>
public class StringSegmentComparer : System.Collections.Generic.IComparer<Microsoft.Extensions.Primitives.StringSegment>, System.Collections.Generic.IEqualityComparer<Microsoft.Extensions.Primitives.StringSegment>
type StringSegmentComparer = class
    interface IEqualityComparer<StringSegment>
type StringSegmentComparer = class
    interface IComparer<StringSegment>
    interface IEqualityComparer<StringSegment>
Public Class StringSegmentComparer
Implements IEqualityComparer(Of StringSegment)
Public Class StringSegmentComparer
Implements IComparer(Of StringSegment), IEqualityComparer(Of StringSegment)
繼承
StringSegmentComparer
實作

屬性

Ordinal
OrdinalIgnoreCase

方法

Compare(StringSegment, StringSegment)

比較兩個物件並傳回值,指出其中一個物件為小於、等於或大於另一個物件。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Equals(StringSegment, StringSegment)

判斷指定的物件是否相等。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetHashCode(StringSegment)

傳回指定物件的雜湊碼。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於