DetermineLocalityCallback Delegar
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cuidado
Methods that use this callback are now deprecated, and instances of this callback will not be used.
Um delegado para determinar a localidade para um determinado tipo de diferença e cadeias de caracteres esquerda/direita.
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)
Parâmetros
- differenceType
- StringDifferenceTypes
O tipo de diferença para obter a localidade para. É garantido que seja apenas um único tipo.
Valor Retornado
A localidade, se desejado, ou NULL, para fazer fallback para a localidade padrão.
- Atributos
Comentários
Esse retorno de chamada e os métodos que o usam agora são deprectated. Nem a implementação padrão de ITextDifferencingService extensões ou que implementam essa interface são necessárias para usar esse retorno de chamada.