다음을 통해 공유


DetermineLocalityCallback 대리자

참고: 이 API는 이제 사용되지 않습니다.

구 차이점은 지정 된 형식 및 왼쪽/오른쪽 문자열에 대 한 결정 합니다.

네임스페이스:  Microsoft.VisualStudio.Text.Differencing
어셈블리:  Microsoft.VisualStudio.Text.Data(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 Function DetermineLocalityCallback ( _
    differenceType As StringDifferenceTypes, _
    leftStrings As IList(Of String), _
    rightStrings As IList(Of String) _
) As Nullable(Of Integer)
[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
)
[ObsoleteAttribute(L"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
)
[<ObsoleteAttribute("Methods that use this callback are now deprecated, and instances of this callback will not be used.")>]
type DetermineLocalityCallback = 
    delegate of  
        differenceType:StringDifferenceTypes * 
        leftStrings:IList<string> * 
        rightStrings:IList<string> -> Nullable<int>
JScript에서는 대리자를 지원하지 않습니다.

매개 변수

  • leftStrings
    형식: IList<String>

    문자열 목록으로 분해된 왼쪽 텍스트입니다.

  • rightStrings
    형식: IList<String>

    문자열 목록으로 분해된 오른쪽 텍스트입니다.

반환 값

형식: Nullable<Int32>
원하는 경우는 소재지 또는 nullNull 참조(Visual Basic의 경우 Nothing) 다시 기본 위치를 변경 합니다.

참고 항목

참조

Microsoft.VisualStudio.Text.Differencing 네임스페이스