Partager via


Difference Constructor

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

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

Syntax

'Declaration
Public Sub New ( _
    left As Span, _
    right As Span, _
    before As Match, _
    after As Match _
)
public Difference(
    Span left,
    Span right,
    Match before,
    Match after
)
public:
Difference(
    Span left, 
    Span right, 
    Match^ before, 
    Match^ after
)
new : 
        left:Span * 
        right:Span * 
        before:Match * 
        after:Match -> Difference
public function Difference(
    left : Span, 
    right : Span, 
    before : Match, 
    after : Match
)

Parameters

.NET Framework Security

See Also

Reference

Difference Class

Microsoft.VisualStudio.Text.Differencing Namespace