共用方式為


DifferenceType Enumeration

The types of differences.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣告
Public Enumeration DifferenceType
public enum DifferenceType
public enum class DifferenceType
type DifferenceType
public enum DifferenceType

Members

Member name Description
Add Lines were added, so the text is on the right-hand side.
Remove Lines were removed, so the text is on the left-hand side.
Change Lines were changed, so the text is on both sides.

Remarks

Differences are read from left to right, so that Add means that only the right span has text, Remove means that only the left span has text, and Change means that both the left and right spans have text.

See Also

Reference

Microsoft.VisualStudio.Text.Differencing Namespace