SnapshotSpan.Equality(SnapshotSpan, SnapshotSpan) Operator

Definition

Determines whether two snapshot spans are the same.

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

Parameters

left
SnapshotSpan

The left-hand snapshot span.

right
SnapshotSpan

The right-hand snapshot span.

Returns

true if the objects are the same, otherwise false.

Applies to