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
'宣告
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.StringDifferenceTypes
The difference type.
- locality
Type: System.Int32
The locality.
- ignoreTrimWhiteSpace
Type: System.Boolean
Whether 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