IVsTextLayer.BaseLineIndexToLocal Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Déclaration
Function BaseLineIndexToLocal ( _
iBaseLine As Integer, _
iBaseIndex As Integer, _
<OutAttribute> ByRef piLocalLine As Integer, _
<OutAttribute> ByRef piLocalIndex As Integer _
) As Integer
'Utilisation
Dim instance As IVsTextLayer
Dim iBaseLine As Integer
Dim iBaseIndex As Integer
Dim piLocalLine As Integer
Dim piLocalIndex As Integer
Dim returnValue As Integer
returnValue = instance.BaseLineIndexToLocal(iBaseLine, _
iBaseIndex, piLocalLine, piLocalIndex)
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
Parameters
- iBaseLine
Type: System.Int32
[in]
- iBaseIndex
Type: System.Int32
[in]
- piLocalLine
Type: System.Int32%
[out]
- piLocalIndex
Type: System.Int32%
[out]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextLayer::BaseLineIndexToLocal(
[in] long iBaseLine,
[in] CharIndex iBaseIndex,
[out] long *piLocalLine,
[out] CharIndex *piLocalIndex
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.