SnapshotPoint.Equality Operator
Determines whether this snapshot point is the same as a second snapshot point.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Shared Operator = ( _
left As SnapshotPoint, _
right As SnapshotPoint _
) As Boolean
public static bool operator ==(
SnapshotPoint left,
SnapshotPoint right
)
public:
static bool operator ==(
SnapshotPoint left,
SnapshotPoint right
)
static let inline(=)
left:SnapshotPoint *
right:SnapshotPoint : bool
JScript does not support overloaded operators.
Parameters
left
Type: Microsoft.VisualStudio.Text.SnapshotPointThe left-hand snapshot point.
right
Type: Microsoft.VisualStudio.Text.SnapshotPointThe right-hand snapshot point.
Return Value
Type: Boolean
true if the snapshot points 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.