StringSegment.Equality(StringSegment, StringSegment) Operator
Definition
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
Parameters
- left
- StringSegment
The first StringSegment to compare, or null
.
- right
- StringSegment
The second StringSegment to compare, or null
.
Returns
true
if the value of left
is the same as the value of right
; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.