共用方式為


DiffUtil.Diff 方法

命名空間:  Microsoft.TeamFoundation.VersionControl.Common
組件:  Microsoft.TeamFoundation.VersionControl.Common (在 Microsoft.TeamFoundation.VersionControl.Common.dll 中)

語法

'宣告
Public Shared Function Diff ( _
    originalStream As Stream, _
    originalEncoding As Encoding, _
    modifiedStream As Stream, _
    modifiedEncoding As Encoding, _
    diffOptions As DiffOptions, _
    includeChangesInSummary As Boolean _
) As DiffSummary
public static DiffSummary Diff(
    Stream originalStream,
    Encoding originalEncoding,
    Stream modifiedStream,
    Encoding modifiedEncoding,
    DiffOptions diffOptions,
    bool includeChangesInSummary
)

參數

傳回值

型別:Microsoft.TeamFoundation.VersionControl.Common.DiffSummary

.NET Framework 安全性

請參閱

參考

DiffUtil 類別

Microsoft.TeamFoundation.VersionControl.Common 命名空間