Span.Equality Operator
Determines whether two spans are the same.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Déclaration
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 the same, otherwise false.
.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.