Κοινή χρήση μέσω


StringSegment.Equality(StringSegment, StringSegment) Operator

Definition

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