Compartilhar via


Match(Span, Span) Constructor

Definition

Creates a match from two spans of equal length.

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

Parameters

left
Span

The span from the left sequence.

right
Span

The span from the right sequence.

Exceptions

The left span or right span is null.

The spans are not of equal length.

Applies to