SnapshotSpan.Equality(SnapshotSpan, SnapshotSpan) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.