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
)
參數
- originalStream
型別:System.IO.Stream
- originalEncoding
型別:System.Text.Encoding
- modifiedStream
型別:System.IO.Stream
- modifiedEncoding
型別:System.Text.Encoding
- diffOptions
型別:Microsoft.TeamFoundation.VersionControl.Common.DiffOptions
- includeChangesInSummary
型別:System.Boolean
傳回值
型別:Microsoft.TeamFoundation.VersionControl.Common.DiffSummary
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。