共用方式為


IVsTextLayer.DeeperLayerLineIndexToLocal 方法

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

語法

'宣告
Function DeeperLayerLineIndexToLocal ( _
    dwFlags As UInteger, _
    pTargetLayer As IVsTextLayer, _
    iLayerLine As Integer, _
    iLayerIndex As Integer, _
    <OutAttribute> ByRef piLocalLine As Integer, _
    <OutAttribute> ByRef piLocalIndex As Integer _
) As Integer
int DeeperLayerLineIndexToLocal(
    uint dwFlags,
    IVsTextLayer pTargetLayer,
    int iLayerLine,
    int iLayerIndex,
    out int piLocalLine,
    out int piLocalIndex
)
int DeeperLayerLineIndexToLocal(
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] IVsTextLayer^ pTargetLayer, 
    [InAttribute] int iLayerLine, 
    [InAttribute] int iLayerIndex, 
    [OutAttribute] int% piLocalLine, 
    [OutAttribute] int% piLocalIndex
)
abstract DeeperLayerLineIndexToLocal : 
        dwFlags:uint32 * 
        pTargetLayer:IVsTextLayer * 
        iLayerLine:int * 
        iLayerIndex:int * 
        piLocalLine:int byref * 
        piLocalIndex:int byref -> int
function DeeperLayerLineIndexToLocal(
    dwFlags : uint, 
    pTargetLayer : IVsTextLayer, 
    iLayerLine : int, 
    iLayerIndex : int, 
    piLocalLine : int, 
    piLocalIndex : int
) : int

參數

  • iLayerLine
    類型:Int32

    [in]

  • iLayerIndex
    類型:Int32

    [in]

  • piLocalLine
    類型:Int32%

    [out]

  • piLocalIndex
    類型:Int32%

    [out]

傳回值

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

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsTextLayer::DeeperLayerLineIndexToLocal(
   [in] DWORD dwFlags,
   [in] IVsTextLayer *pTargetLayer,
   [in] long iLayerLine,
   [in] CharIndex iLayerIndex,
   [out] long *piLocalLine,
   [out] CharIndex *piLocalIndex
);

.NET Framework 安全性

請參閱

參考

IVsTextLayer 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間