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)

public enum StringDifferenceTypes

Member nameDescription

Compute the character difference.


Compute the line difference.


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