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
- left
Type: Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection
The first collection.
- right
Type: Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection
The second collection.
Return Value
Type: System.Boolean
true if the two sets 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.