ITextDifferencingService::DiffStrings Method (String^, String^, StringDifferenceOptions)
Visual Studio 2015
Computes the differences between two strings, using the given difference options.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
IHierarchicalDifferenceCollection^ DiffStrings( String^ left, String^ right, StringDifferenceOptions differenceOptions )
Parameters
- left
-
Type:
System::String^
The left string. In most cases this is the the "old" string
- right
-
Type:
System::String^
The right string. In most cases this is the "new" string.
- differenceOptions
-
Type:
Microsoft.VisualStudio.Text.Differencing::StringDifferenceOptions
The options to use in differencing.
Return Value
Type: Microsoft.VisualStudio.Text.Differencing::IHierarchicalDifferenceCollection^A hierarchical collection of differences.
Show: