StringSegment.Equality(StringSegment, StringSegment) Operator
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.
Checks if two specified StringSegment have the same value.
public:
static bool operator ==(Microsoft::Extensions::Primitives::StringSegment left, Microsoft::Extensions::Primitives::StringSegment right);
public static bool operator == (Microsoft.Extensions.Primitives.StringSegment left, Microsoft.Extensions.Primitives.StringSegment right);
static member ( = ) : Microsoft.Extensions.Primitives.StringSegment * Microsoft.Extensions.Primitives.StringSegment -> bool
Public Shared Operator == (left As StringSegment, right As StringSegment) As Boolean
- left
- StringSegment
The first StringSegment to compare, or null
.
- right
- StringSegment
The second StringSegment to compare, or null
.
true
if the value of left
is the same as the value of right
; otherwise, false
.
Product | Versions |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 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: