Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether two snapshot 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 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
- left
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The left-hand snapshot span.
- right
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The right-hand snapshot span.
Return Value
Type: System.Boolean
true if the objects 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.