Freigeben über


IVsTextTrackingPoint.GetCurrentLineIndex-Methode

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

Syntax

'Declaration
Function GetCurrentLineIndex ( _
    <OutAttribute> ByRef piLine As Integer, _
    <OutAttribute> ByRef piIndex As Integer _
) As Integer
int GetCurrentLineIndex(
    out int piLine,
    out int piIndex
)
int GetCurrentLineIndex(
    [OutAttribute] int% piLine, 
    [OutAttribute] int% piIndex
)
abstract GetCurrentLineIndex : 
        piLine:int byref * 
        piIndex:int byref -> int
function GetCurrentLineIndex(
    piLine : int, 
    piIndex : int
) : int

Parameter

  • piLine
    Typ: Int32%

    [out]

  • piIndex
    Typ: Int32%

    [out]

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Von textmgr.idl:

HRESULT IVsTextTrackingPoint::GetCurrentLineIndex(

   [out] long *piLine,

   [out] long *piIndex

);

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsTextTrackingPoint Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace