Sdílet prostřednictvím


Span.Inequality(Span, Span) Operator

Definition

Determines whether two spans are different.

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 op_Inequality : 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 different, otherwise false.

Remarks

Two spans overlap if they have positions in common and neither is empty. Empty spans do not overlap with any other span.

Applies to