Match Constructor (Span, Span)

 

Creates a match from two spans of equal length.

Namespace:   Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public:
Match(
	Span left,
	Span right
)

Parameters

left
Type: Microsoft.VisualStudio.Text::Span

The span from the left sequence.

right
Type: Microsoft.VisualStudio.Text::Span

The span from the right sequence.

Exception Condition
ArgumentNullException

The left span or right span is null.

ArgumentException

The spans are not of equal length.

Return to top
Show: