Share via


Difference(Span, Span, Match, Match) Constructor

Definition

Initializes a new instance of a Difference with the specified left and right spans and before and after matches.

public:
 Difference(Microsoft::VisualStudio::Text::Span left, Microsoft::VisualStudio::Text::Span right, Microsoft::VisualStudio::Text::Differencing::Match ^ before, Microsoft::VisualStudio::Text::Differencing::Match ^ after);
public Difference (Microsoft.VisualStudio.Text.Span left, Microsoft.VisualStudio.Text.Span right, Microsoft.VisualStudio.Text.Differencing.Match before, Microsoft.VisualStudio.Text.Differencing.Match after);
new Microsoft.VisualStudio.Text.Differencing.Difference : Microsoft.VisualStudio.Text.Span * Microsoft.VisualStudio.Text.Span * Microsoft.VisualStudio.Text.Differencing.Match * Microsoft.VisualStudio.Text.Differencing.Match -> Microsoft.VisualStudio.Text.Differencing.Difference
Public Sub New (left As Span, right As Span, before As Match, after As Match)

Parameters

left
Span

The left side of the difference (may have zero length).

right
Span

The right side of the difference (may have zero length).

before
Match

The non-differing element range before this difference.

after
Match

The non-differing element range after this difference.

Applies to