다음을 통해 공유


IVsTextLayer.BaseLineIndexToLocal 메서드

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

구문

‘선언
Function BaseLineIndexToLocal ( _
    iBaseLine As Integer, _
    iBaseIndex As Integer, _
    <OutAttribute> ByRef piLocalLine As Integer, _
    <OutAttribute> ByRef piLocalIndex As Integer _
) As Integer
int BaseLineIndexToLocal(
    int iBaseLine,
    int iBaseIndex,
    out int piLocalLine,
    out int piLocalIndex
)
int BaseLineIndexToLocal(
    [InAttribute] int iBaseLine, 
    [InAttribute] int iBaseIndex, 
    [OutAttribute] int% piLocalLine, 
    [OutAttribute] int% piLocalIndex
)
abstract BaseLineIndexToLocal : 
        iBaseLine:int * 
        iBaseIndex:int * 
        piLocalLine:int byref * 
        piLocalIndex:int byref -> int
function BaseLineIndexToLocal(
    iBaseLine : int, 
    iBaseIndex : int, 
    piLocalLine : int, 
    piLocalIndex : int
) : int

매개 변수

  • iBaseLine
    형식: Int32

    In

  • iBaseIndex
    형식: Int32

    In

  • piLocalLine
    형식: Int32%

    [out]

  • piLocalIndex
    형식: Int32%

    [out]

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsTextLayer::BaseLineIndexToLocal(
   [in] long iBaseLine,
   [in] CharIndex iBaseIndex,
   [out] long *piLocalLine,
   [out] CharIndex *piLocalIndex
);

.NET Framework 보안

참고 항목

참조

IVsTextLayer 인터페이스

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