Match Constructor

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)

Syntax

声明
Public Sub New ( _
    left As Span, _
    right As Span _
)
public Match(
    Span left,
    Span right
)
public:
Match(
    Span left, 
    Span right
)
new : 
        left:Span * 
        right:Span -> Match
public function Match(
    left : Span, 
    right : Span
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The left span or right span is null.

ArgumentException

The spans are not of equal length.

.NET Framework Security

See Also

Reference

Match Class

Microsoft.VisualStudio.Text.Differencing Namespace