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)

适用于