Compartir a través de


SnapshotSpan.Equality Operator

Determines whether two snapshot spans are the same.

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

Syntax

'Declaración
Public Shared Operator = ( _
    left As SnapshotSpan, _
    right As SnapshotSpan _
) As Boolean
public static bool operator ==(
    SnapshotSpan left,
    SnapshotSpan right
)
public:
static bool operator ==(
    SnapshotSpan left, 
    SnapshotSpan right
)
static let inline (=)
        left:SnapshotSpan * 
        right:SnapshotSpan  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the objects are the same, otherwise false.

.NET Framework Security

See Also

Reference

SnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace