Compartir a través de


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

'Declaration
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: Boolean
true if the spans are the same, otherwise false.

.NET Framework Security

See Also

Reference

Span Structure

Microsoft.VisualStudio.Text Namespace