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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.