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
'Declaration
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
differenceType
Type: Microsoft.VisualStudio.Text.Differencing.StringDifferenceTypesThe difference type.
locality
Type: Int32The locality.
ignoreTrimWhiteSpace
Type: BooleanWhether or not to ignore whitespace.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
StringDifferenceOptions Structure