Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Determining the locality for a given difference type and left/right strings.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Delegate Function DetermineLocalityCallback ( _
differenceType As StringDifferenceTypes, _
leftStrings As IList(Of String), _
rightStrings As IList(Of String) _
) As Nullable(Of Integer)
public delegate Nullable<int> DetermineLocalityCallback(
StringDifferenceTypes differenceType,
IList<string> leftStrings,
IList<string> rightStrings
)
public delegate Nullable<int> DetermineLocalityCallback(
StringDifferenceTypes differenceType,
IList<String^>^ leftStrings,
IList<String^>^ rightStrings
)
type DetermineLocalityCallback =
delegate of
differenceType:StringDifferenceTypes *
leftStrings:IList<string> *
rightStrings:IList<string> -> Nullable<int>
JScript does not support delegates.
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 nulla null reference (Nothing in Visual Basic) to fall back to the default locality.