StringDifferenceOptions Structure
Options to use in calculating string differences.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
| Name | Description | |
|---|---|---|
![]() | StringDifferenceOptions(StringDifferenceOptions) | Initializes a new instance of StringDifferenceOptions with the specified options. |
![]() | StringDifferenceOptions(StringDifferenceTypes, Int32, Boolean) | Initializes a new instance of StringDifferenceOptions with the specified options. |
| Name | Description | |
|---|---|---|
![]() | ContinueProcessingPredicate | An optional predicate that allows clients to cancel differencing before it has completely finished. |
![]() | DetermineLocalityCallback | Obsolete.An optional callback to override the locality for a specific round of differencing. |
![]() | DifferenceType | The type of string differencing to do, as a combination of line, word, and character differencing. |
![]() | IgnoreTrimWhiteSpace | Gets or sets whether to ignore white space. |
![]() | Locality | Obsolete.The greatest distance a differencing element (line, span, or character) can move and still be considered part of the same source. |
![]() | WordSplitBehavior | The behavior to use when splitting words, if word differencing is requested by the DifferenceType. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether two StringDifferenceOptions are the same.(Overrides ValueType.Equals(Object).) |
![]() | GetHashCode() | Provides a hash function for the type.(Overrides ValueType.GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | Provides a string representation of these difference options.(Overrides ValueType.ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(StringDifferenceOptions, StringDifferenceOptions) | Determines whether two StringDifferenceOptions are the same |
![]() ![]() | Inequality(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.



