Partager via


NormalizedSnapshotSpanCollection.Equality Operator

Determines whether two NormalizedSnapshotSpanCollection objects 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 NormalizedSnapshotSpanCollection, _
    right As NormalizedSnapshotSpanCollection _
) As Boolean
public static bool operator ==(
    NormalizedSnapshotSpanCollection left,
    NormalizedSnapshotSpanCollection right
)
public:
static bool operator ==(
    NormalizedSnapshotSpanCollection^ left, 
    NormalizedSnapshotSpanCollection^ right
)
static let inline(=)
        left:NormalizedSnapshotSpanCollection * 
        right:NormalizedSnapshotSpanCollection  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: Boolean
true if the two sets are the same, otherwise false.

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace