Compartilhar via


Span.Equality(Span, Span) Operator

Definition

Determines whether two spans are the same

public:
 static bool operator ==(Microsoft::VisualStudio::Text::Span left, Microsoft::VisualStudio::Text::Span right);
public:
 static bool operator ==(Microsoft::VisualStudio::Text::Span left, Microsoft::VisualStudio::Text::Span right);
 static bool operator ==(Microsoft::VisualStudio::Text::Span left, Microsoft::VisualStudio::Text::Span right);
public static bool operator == (Microsoft.VisualStudio.Text.Span left, Microsoft.VisualStudio.Text.Span right);
static member ( = ) : Microsoft.VisualStudio.Text.Span * Microsoft.VisualStudio.Text.Span -> bool
Public Shared Operator == (left As Span, right As Span) As Boolean

Parameters

left
Span

The left-hand span.

right
Span

The right-hand span.

Returns

true if the spans are the same, otherwise false.

Applies to