Freigeben über


StringDifferenceTypes Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration StringDifferenceTypes
[FlagsAttribute]
public enum StringDifferenceTypes
[FlagsAttribute]
public enum class StringDifferenceTypes
[<FlagsAttribute>]
type StringDifferenceTypes
public enum StringDifferenceTypes

Members

Member name Description
Line Compute the line difference.
Word Compute the word difference.
Character Compute the character difference.

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Text.Differencing Namespace