Compartir a través de


StringDifferenceOptions Constructors

Definition

Overloads

StringDifferenceOptions(StringDifferenceOptions)

Constructs a StringDifferenceOptions from a given StringDifferenceOptions.

StringDifferenceOptions(StringDifferenceTypes, Int32, Boolean)

Constructs a StringDifferenceOptions.

StringDifferenceOptions(StringDifferenceOptions)

public:
 StringDifferenceOptions(Microsoft::VisualStudio::Text::Differencing::StringDifferenceOptions other);
 StringDifferenceOptions(Microsoft::VisualStudio::Text::Differencing::StringDifferenceOptions other);
public StringDifferenceOptions (Microsoft.VisualStudio.Text.Differencing.StringDifferenceOptions other);
new Microsoft.VisualStudio.Text.Differencing.StringDifferenceOptions : Microsoft.VisualStudio.Text.Differencing.StringDifferenceOptions -> Microsoft.VisualStudio.Text.Differencing.StringDifferenceOptions
Public Sub New (other As StringDifferenceOptions)

Parameters

Applies to

StringDifferenceOptions(StringDifferenceTypes, Int32, Boolean)

Constructs a StringDifferenceOptions.

public:
 StringDifferenceOptions(Microsoft::VisualStudio::Text::Differencing::StringDifferenceTypes differenceType, int locality, bool ignoreTrimWhiteSpace);
public:
 StringDifferenceOptions(Microsoft::VisualStudio::Text::Differencing::StringDifferenceTypes differenceType, int locality, bool ignoreTrimWhiteSpace);
 StringDifferenceOptions(Microsoft::VisualStudio::Text::Differencing::StringDifferenceTypes differenceType, int locality, bool ignoreTrimWhiteSpace);
public StringDifferenceOptions (Microsoft.VisualStudio.Text.Differencing.StringDifferenceTypes differenceType, int locality, bool ignoreTrimWhiteSpace);
new Microsoft.VisualStudio.Text.Differencing.StringDifferenceOptions : Microsoft.VisualStudio.Text.Differencing.StringDifferenceTypes * int * bool -> Microsoft.VisualStudio.Text.Differencing.StringDifferenceOptions
Public Sub New (differenceType As StringDifferenceTypes, locality As Integer, ignoreTrimWhiteSpace As Boolean)

Parameters

differenceType
StringDifferenceTypes

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

locality
Int32

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.

ignoreTrimWhiteSpace
Boolean

Determines whether whitespace should be ignored.

Applies to