Condividi tramite


Span.Inequality Operator

Determines whether two spans are different.

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

Syntax

'Dichiarazione
Public Shared Operator <> ( _
    left As Span, _
    right As Span _
) As Boolean
public static bool operator !=(
    Span left,
    Span right
)
public:
static bool operator !=(
    Span left, 
    Span right
)
static let inline (<>)
        left:Span * 
        right:Span  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
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.

.NET Framework Security

See Also

Reference

Span Structure

Microsoft.VisualStudio.Text Namespace