Partager via


IVsTextMacroHelper.RecordGotoLine Method

Records moving position to the specified line.

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

Syntax

'Déclaration
Function RecordGotoLine ( _
    iLine As Integer, _
    fExtend As Integer _
) As Integer
int RecordGotoLine(
    int iLine,
    int fExtend
)
int RecordGotoLine(
    int iLine, 
    int fExtend
)
abstract RecordGotoLine : 
        iLine:int * 
        fExtend:int -> int 
function RecordGotoLine(
    iLine : int, 
    fExtend : int
) : int

Parameters

  • fExtend
    Type: System.Int32
    Flag indicating whether to extend the line (true).

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 IVsTextMacroHelper::RecordGotoLine(long iLine, BOOL fExtend);

.NET Framework Security

See Also

Reference

IVsTextMacroHelper Interface

Microsoft.VisualStudio.TextManager.Interop Namespace