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
'Dichiarazione
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
- left
Type: Microsoft.VisualStudio.Text.Span
The left side of the difference (may have zero length).
- right
Type: Microsoft.VisualStudio.Text.Span
The right side of the difference (may have zero length).
- before
Type: Microsoft.VisualStudio.Text.Differencing.Match
The non-differing element range before this difference.
- after
Type: Microsoft.VisualStudio.Text.Differencing.Match
The non-differing element range after this difference.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.