Partilhar via


StringDifferenceOptions Constructor (StringDifferenceTypes, Int32, Boolean)

Initializes a new instance of StringDifferenceOptions with the specified options.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaração
Public Sub New ( _
    differenceType As StringDifferenceTypes, _
    locality As Integer, _
    ignoreTrimWhiteSpace As Boolean _
)
public StringDifferenceOptions(
    StringDifferenceTypes differenceType,
    int locality,
    bool ignoreTrimWhiteSpace
)
public:
StringDifferenceOptions(
    StringDifferenceTypes differenceType, 
    int locality, 
    bool ignoreTrimWhiteSpace
)
new : 
        differenceType:StringDifferenceTypes * 
        locality:int * 
        ignoreTrimWhiteSpace:bool -> StringDifferenceOptions
public function StringDifferenceOptions(
    differenceType : StringDifferenceTypes, 
    locality : int, 
    ignoreTrimWhiteSpace : boolean
)

Parameters

  • ignoreTrimWhiteSpace
    Type: System.Boolean
    Whether or not to ignore whitespace.

.NET Framework Security

See Also

Reference

StringDifferenceOptions Structure

StringDifferenceOptions Overload

Microsoft.VisualStudio.Text.Differencing Namespace