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
'Declaration
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
iLine
Type: System.Int32The line moved to.
fExtend
Type: System.Int32Flag 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
- 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.