StringDifferenceOptions Struct

Definition

Options to use in computing string differences.

C++/WinRT
struct StringDifferenceOptions
Inheritance
StringDifferenceOptions

Constructors

Properties

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. A value of 0 disables locality checking.

WordSplitBehavior

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

Methods

Equals(Object)

Determines whether two StringDifferenceOptions are the same.

GetHashCode()

Provides a hash function for the type.

ToString()

Provides a string representation of these difference options.

Operators

Equality(StringDifferenceOptions, StringDifferenceOptions)

Determines whether two StringDifferenceOptions are the same

Inequality(StringDifferenceOptions, StringDifferenceOptions)

Determines whether two StringDifferenceOptions are different.

Applies to

Product Versies
Visual Studio SDK 2015, 2017, 2019, 2022