共用方式為


IVsTextLayer.LocalLineIndexToDeeperLayer 方法

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
Function LocalLineIndexToDeeperLayer ( _
    pTargetLayer As IVsTextLayer, _
    iLocalLine As Integer, _
    iLocalIndex As Integer, _
    <OutAttribute> ByRef piTargetLine As Integer, _
    <OutAttribute> ByRef piTargetIndex As Integer _
) As Integer
int LocalLineIndexToDeeperLayer(
    IVsTextLayer pTargetLayer,
    int iLocalLine,
    int iLocalIndex,
    out int piTargetLine,
    out int piTargetIndex
)
int LocalLineIndexToDeeperLayer(
    [InAttribute] IVsTextLayer^ pTargetLayer, 
    [InAttribute] int iLocalLine, 
    [InAttribute] int iLocalIndex, 
    [OutAttribute] int% piTargetLine, 
    [OutAttribute] int% piTargetIndex
)
abstract LocalLineIndexToDeeperLayer : 
        pTargetLayer:IVsTextLayer * 
        iLocalLine:int * 
        iLocalIndex:int * 
        piTargetLine:int byref * 
        piTargetIndex:int byref -> int
function LocalLineIndexToDeeperLayer(
    pTargetLayer : IVsTextLayer, 
    iLocalLine : int, 
    iLocalIndex : int, 
    piTargetLine : int, 
    piTargetIndex : int
) : int

參數

  • iLocalLine
    類型:Int32

    [in]

  • iLocalIndex
    類型:Int32

    [in]

  • piTargetLine
    類型:Int32%

    [out]

  • piTargetIndex
    類型:Int32%

    [out]

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsTextLayer::LocalLineIndexToDeeperLayer(
   [in] IVsTextLayer *pTargetLayer,
   [in] long iLocalLine,
   [in] CharIndex iLocalIndex,
   [out] long *piTargetLine,
   [out] CharIndex *piTargetIndex
);

.NET Framework 安全性

請參閱

參考

IVsTextLayer 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間