DetermineLocalityCallback Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Methods that use this callback are now deprecated, and instances of this callback will not be used.
A delegate for determining the locality for a given difference type and left/right strings.
public delegate Nullable<int> DetermineLocalityCallback(StringDifferenceTypes differenceType, IList<System::String ^> ^ leftStrings, IList<System::String ^> ^ rightStrings);
[System.Obsolete("Methods that use this callback are now deprecated, and instances of this callback will not be used.")]
public delegate int? DetermineLocalityCallback(StringDifferenceTypes differenceType, IList<string> leftStrings, IList<string> rightStrings);
[<System.Obsolete("Methods that use this callback are now deprecated, and instances of this callback will not be used.")>]
type DetermineLocalityCallback = delegate of StringDifferenceTypes * IList<string> * IList<string> -> Nullable<int>
Public Delegate Function DetermineLocalityCallback(differenceType As StringDifferenceTypes, leftStrings As IList(Of String), rightStrings As IList(Of String)) As Nullable(Of Integer)
Parameters
- differenceType
- StringDifferenceTypes
The type of difference to get the locality for. This is guaranteed to be only a single type.
Return Value
The locality, if desired, or null
, to fallback to the default
locality.
- Attributes
Remarks
This callback and methods that use it are now deprectated. Neither the default implementation of ITextDifferencingService or extensions that implement that interface are required to use this callback.