共用方式為


SnapshotPoint.Equality(SnapshotPoint, SnapshotPoint) Operator

Definition

Determines whether this snapshot point is the same as a second snapshot point.

public:
 static bool operator ==(Microsoft::VisualStudio::Text::SnapshotPoint left, Microsoft::VisualStudio::Text::SnapshotPoint right);
public static bool operator == (Microsoft.VisualStudio.Text.SnapshotPoint left, Microsoft.VisualStudio.Text.SnapshotPoint right);
static member ( = ) : Microsoft.VisualStudio.Text.SnapshotPoint * Microsoft.VisualStudio.Text.SnapshotPoint -> bool
Public Shared Operator == (left As SnapshotPoint, right As SnapshotPoint) As Boolean

Parameters

left
SnapshotPoint

The left-hand snapshot point.

right
SnapshotPoint

The right-hand snapshot point.

Returns

true if the snapshot points are the same, otherwise false.

Applies to