StringSegmentComparer Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two StringSegment objects.
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.IComparer<Microsoft.Extensions.Primitives.StringSegment>, System.Collections.Generic.IEqualityComparer<Microsoft.Extensions.Primitives.StringSegment>
type StringSegmentComparer = class
interface IComparer<StringSegment>
interface IEqualityComparer<StringSegment>
Public Class StringSegmentComparer
Implements IComparer(Of StringSegment), IEqualityComparer(Of StringSegment)
- Inheritance
-
StringSegmentComparer
- Implements
Ordinal |
Gets a StringSegmentComparer object that performs a case-sensitive ordinal StringSegment comparison. |
Ordinal |
Gets a StringSegmentComparer object that performs a case-insensitive ordinal StringSegment comparison. |
Compare(String |
Compares two StringSegment objects and returns an indication of their relative sort order. |
Equals(String |
Determines whether two StringSegment objects are equal. |
Get |
Returns a hash code for a StringSegment object. |
Продукт | Версии |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Отзыв о .NET
.NET — это проект с открытым исходным кодом. Выберите ссылку, чтобы оставить отзыв: