IVsTextLayer.LocalLineIndexToBase Method

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function LocalLineIndexToBase ( _
    iLocalLine As Integer, _
    iLocalIndex As Integer, _
    <OutAttribute> ByRef piBaseLine As Integer, _
    <OutAttribute> ByRef piBaseIndex As Integer _
) As Integer
'Utilisation
Dim instance As IVsTextLayer
Dim iLocalLine As Integer
Dim iLocalIndex As Integer
Dim piBaseLine As Integer
Dim piBaseIndex As Integer
Dim returnValue As Integer

returnValue = instance.LocalLineIndexToBase(iLocalLine, _
    iLocalIndex, piBaseLine, piBaseIndex)
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

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code. Returns VIEW_E_LOCATION_HIDDEN if the coordinates you requested exist, but are hidden in the UI at present

Remarks

COM Signature

From textmgr.idl:

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

.NET Framework Security

See Also

Reference

IVsTextLayer Interface

IVsTextLayer Members

Microsoft.VisualStudio.TextManager.Interop Namespace