共用方式為


IVsTextMacroHelper.RecordGotoLine(Int32, Int32) Method

Definition

Records moving position to the specified line.

public:
 int RecordGotoLine(int iLine, int fExtend);
public:
 int RecordGotoLine(int iLine, int fExtend);
int RecordGotoLine(int iLine, int fExtend);
public int RecordGotoLine (int iLine, int fExtend);
abstract member RecordGotoLine : int * int -> int
Public Function RecordGotoLine (iLine As Integer, fExtend As Integer) As Integer

Parameters

iLine
Int32

The line moved to.

fExtend
Int32

Flag indicating whether to extend the line (true).

Returns

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);  

Applies to