Share via


IVsTextMacroHelper.RecordMoveSelectionRel Method

Records relative move of selection.

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

Syntax

'Declaration
Function RecordMoveSelectionRel ( _
    mst As MOVESELECTION_REL_TYPE, _
    fBackwards As Integer, _
    fExtend As Integer _
) As Integer
int RecordMoveSelectionRel(
    MOVESELECTION_REL_TYPE mst,
    int fBackwards,
    int fExtend
)
int RecordMoveSelectionRel(
    MOVESELECTION_REL_TYPE mst, 
    int fBackwards, 
    int fExtend
)
abstract RecordMoveSelectionRel : 
        mst:MOVESELECTION_REL_TYPE * 
        fBackwards:int * 
        fExtend:int -> int
function RecordMoveSelectionRel(
    mst : MOVESELECTION_REL_TYPE, 
    fBackwards : int, 
    fExtend : int
) : int

Parameters

  • fBackwards
    Type: System.Int32

    Flag indicating whether move was backward (true) or forward (false).

  • fExtend
    Type: System.Int32

    Flag indicating whether move extended.

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::RecordMoveSelectionRel(
   MOVESELECTION_REL_TYPE mst,
   BOOL fBackwards,
   BOOL fExtend
);

.NET Framework Security

See Also

Reference

IVsTextMacroHelper Interface

Microsoft.VisualStudio.TextManager.Interop Namespace