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. |
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: