Difference 构造函数

使用指定的左侧和右侧范围以及前匹配和后匹配初始化 Difference 的新实例。

命名空间:  Microsoft.VisualStudio.Text.Differencing
程序集:  Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.dll 中)

语法

声明
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
)

参数

.NET Framework 安全性

请参阅

参考

Difference 类

Microsoft.VisualStudio.Text.Differencing 命名空间