VirtualSnapshotSpan.Equality Operator
Determines whether two VirtualSnapshotSpan objects are the same.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'宣言
Public Shared Operator = ( _
left As VirtualSnapshotSpan, _
right As VirtualSnapshotSpan _
) As Boolean
public static bool operator ==(
VirtualSnapshotSpan left,
VirtualSnapshotSpan right
)
public:
static bool operator ==(
VirtualSnapshotSpan left,
VirtualSnapshotSpan right
)
static let inline (=)
left:VirtualSnapshotSpan *
right:VirtualSnapshotSpan : bool
JScript does not support overloaded operators.
Parameters
- left
Type: Microsoft.VisualStudio.Text.VirtualSnapshotSpan
The first object.
- right
Type: Microsoft.VisualStudio.Text.VirtualSnapshotSpan
The second object.
Return Value
Type: System.Boolean
true if the two 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.