StringDifferenceOptions Structure

 

Options to use in calculating string differences.

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

public struct StringDifferenceOptions

NameDescription
System_CAPS_pubmethodStringDifferenceOptions(StringDifferenceOptions)

Initializes a new instance of StringDifferenceOptions with the specified options.

System_CAPS_pubmethodStringDifferenceOptions(StringDifferenceTypes, Int32, Boolean)

Initializes a new instance of StringDifferenceOptions with the specified options.

NameDescription
System_CAPS_pubpropertyContinueProcessingPredicate

An optional predicate that allows clients to cancel differencing before it has completely finished.

System_CAPS_pubpropertyDetermineLocalityCallback

Obsolete.An optional callback to override the locality for a specific round of differencing.

System_CAPS_pubpropertyDifferenceType

The type of string differencing to do, as a combination of line, word, and character differencing.

System_CAPS_pubpropertyIgnoreTrimWhiteSpace

Gets or sets whether to ignore white space.

System_CAPS_pubpropertyLocality

Obsolete.The greatest distance a differencing element (line, span, or character) can move and still be considered part of the same source.

System_CAPS_pubpropertyWordSplitBehavior

The behavior to use when splitting words, if word differencing is requested by the DifferenceType.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two StringDifferenceOptions are the same.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Provides a hash function for the type.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Provides a string representation of these difference options.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(StringDifferenceOptions, StringDifferenceOptions)

Determines whether two StringDifferenceOptions are the same

System_CAPS_puboperatorSystem_CAPS_staticInequality(StringDifferenceOptions, StringDifferenceOptions)

Determines whether two StringDifferenceOptions are different.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: