Difference(Span, Span, Match, Match) Constructor
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.
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.