다음을 통해 공유


IVsTextLayer.LocalLineIndexToBase 메서드

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
Function LocalLineIndexToBase ( _
    iLocalLine As Integer, _
    iLocalIndex As Integer, _
    <OutAttribute> ByRef piBaseLine As Integer, _
    <OutAttribute> ByRef piBaseIndex As Integer _
) As Integer
int LocalLineIndexToBase(
    int iLocalLine,
    int iLocalIndex,
    out int piBaseLine,
    out int piBaseIndex
)
int LocalLineIndexToBase(
    [InAttribute] int iLocalLine, 
    [InAttribute] int iLocalIndex, 
    [OutAttribute] int% piBaseLine, 
    [OutAttribute] int% piBaseIndex
)
abstract LocalLineIndexToBase : 
        iLocalLine:int * 
        iLocalIndex:int * 
        piBaseLine:int byref * 
        piBaseIndex:int byref -> int
function LocalLineIndexToBase(
    iLocalLine : int, 
    iLocalIndex : int, 
    piBaseLine : int, 
    piBaseIndex : int
) : int

매개 변수

  • iLocalLine
    형식: Int32

    In

  • iLocalIndex
    형식: Int32

    In

  • piBaseLine
    형식: Int32%

    [out]

  • piBaseIndex
    형식: Int32%

    [out]

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.반환 VIEW_E_LOCATION_HIDDEN 좌표 요청한 있지만 현재 UI에 숨겨져 있는 경우

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsTextLayer::LocalLineIndexToBase(
   [in] long iLocalLine,
   [in] CharIndex iLocalIndex,
   [out] long *piBaseLine,
   [out] CharIndex *piBaseIndex
);

.NET Framework 보안

참고 항목

참조

IVsTextLayer 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스