共用方式為


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

'宣告
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: System.Boolean
true if the two sets are the same, otherwise false.

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace