StringDifferenceTypes Enumeration

 

A bitwise combination of the enumeration values to use when computing differences with the various methods in IHierarchicalStringDifferenceService.

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

[FlagsAttribute]
public enum StringDifferenceTypes

Member nameDescription
Character

Compute the character difference.

Line

Compute the line difference.

Word

Compute the word difference.

See the comments on IHierarchicalStringDifferenceService for an explanation of how differences are computed.

You should not use the Character type unless the given text is relatively small. Computing differences with large data sets can be very slow.

Return to top
Show: