共用方式為


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 命名空間