StringDifferenceOptions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StringDifferenceOptions(StringDifferenceOptions) |
Constructs a StringDifferenceOptions from a given StringDifferenceOptions. |
StringDifferenceOptions(StringDifferenceTypes, Int32, Boolean) |
Constructs a StringDifferenceOptions. |
StringDifferenceOptions(StringDifferenceOptions)
Constructs a StringDifferenceOptions from a given 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
- other
- StringDifferenceOptions
The StringDifferenceOptions to use in constructing a new StringDifferenceOptions.
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.