Partajați prin


StringSegmentComparer.Equals(StringSegment, StringSegment) Method

Definition

Determines whether two StringSegment objects are equal.

public:
 virtual bool Equals(Microsoft::Extensions::Primitives::StringSegment x, Microsoft::Extensions::Primitives::StringSegment y);
public bool Equals (Microsoft.Extensions.Primitives.StringSegment x, Microsoft.Extensions.Primitives.StringSegment y);
override this.Equals : Microsoft.Extensions.Primitives.StringSegment * Microsoft.Extensions.Primitives.StringSegment -> bool
Public Function Equals (x As StringSegment, y As StringSegment) As Boolean

Parameters

x
StringSegment

The first StringSegment to compare.

y
StringSegment

The second StringSegment to compare.

Returns

true if the two StringSegment objects are equal; otherwise, false.

Implements

Applies to