DetermineLocalityCallback Delegate
Visual Studio 2015
Note: This API is now obsolete.Namespace:
Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Return to top
Determining the locality for a given difference type and left/right strings.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
[ObsoleteAttribute("Methods that use this callback are now deprecated, and instances of this callback will not be used.")] public delegate Nullable<int> DetermineLocalityCallback( StringDifferenceTypes differenceType, IList<String^>^ leftStrings, IList<String^>^ rightStrings )
Parameters
- differenceType
-
Type:
Microsoft.VisualStudio.Text.Differencing::StringDifferenceTypes
The type of difference to get the locality for. This is guaranteed to be a single type.
- leftStrings
-
Type:
System.Collections.Generic::IList<String^>^
The left text, decomposed into a list of strings.
- rightStrings
-
Type:
System.Collections.Generic::IList<String^>^
The right text, decomposed into a list of strings.
Return Value
Type: System::Nullable<Int32>The locality, if desired, or null to fall back to the default locality.
Show: