Span::Inequality Operator (Span, Span)

 

Determines whether two spans are different.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public:
static bool operator !=(
	Span left,
	Span right
)

Parameters

left
Type: Microsoft.VisualStudio.Text::Span

The left-hand span.

right
Type: Microsoft.VisualStudio.Text::Span

The right-hand span.

Return Value

Type: System::Boolean

true if the spans are different, otherwise false.

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

Return to top
Show: