Export (0) Print
Expand All

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

The StringDifferenceOptions type exposes the following members.

  NameDescription
Public methodStringDifferenceOptions(StringDifferenceOptions)Initializes a new instance of StringDifferenceOptions with the specified options.
Public methodStringDifferenceOptions(StringDifferenceTypes, Int32, Boolean)Initializes a new instance of StringDifferenceOptions with the specified options.
Top

  NameDescription
Public propertyContinueProcessingPredicateAn optional predicate that allows clients to cancel differencing before it has completely finished.
Public propertyDetermineLocalityCallback Obsolete. An optional callback to override the locality for a specific round of differencing.
Public propertyDifferenceTypeThe type of string differencing to do, as a combination of line, word, and character differencing.
Public propertyIgnoreTrimWhiteSpaceGets or sets whether to ignore white space.
Public propertyLocality Obsolete. The greatest distance a differencing element (line, span, or character) can move and still be considered part of the same source.
Public propertyWordSplitBehaviorThe behavior to use when splitting words, if word differencing is requested by the DifferenceType.
Top

  NameDescription
Public methodEqualsDetermines whether two StringDifferenceOptions are the same. (Overrides ValueType.Equals(Object).)
Public methodGetHashCodeProvides a hash function for the type. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringProvides a string representation of these difference options. (Overrides ValueType.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether two StringDifferenceOptions are the same
Public operatorStatic memberInequalityDetermines whether two StringDifferenceOptions are different.
Top

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