Partager via


IVsTextMacroHelper.RecordMoveSelectionRel Method

Definition

Records relative move of selection.

public:
 int RecordMoveSelectionRel(Microsoft::VisualStudio::TextManager::Interop::MOVESELECTION_REL_TYPE mst, int fBackwards, int fExtend);
public:
 int RecordMoveSelectionRel(Microsoft::VisualStudio::TextManager::Interop::MOVESELECTION_REL_TYPE mst, int fBackwards, int fExtend);
int RecordMoveSelectionRel(Microsoft::VisualStudio::TextManager::Interop::MOVESELECTION_REL_TYPE mst, int fBackwards, int fExtend);
public int RecordMoveSelectionRel (Microsoft.VisualStudio.TextManager.Interop.MOVESELECTION_REL_TYPE mst, int fBackwards, int fExtend);
abstract member RecordMoveSelectionRel : Microsoft.VisualStudio.TextManager.Interop.MOVESELECTION_REL_TYPE * int * int -> int
Public Function RecordMoveSelectionRel (mst As MOVESELECTION_REL_TYPE, fBackwards As Integer, fExtend As Integer) As Integer

Parameters

mst
MOVESELECTION_REL_TYPE

Flag indicating relative move type, see MOVESELECTION_REL_TYPE.

fBackwards
Int32

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

fExtend
Int32

Flag indicating whether move extended.

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

Applies to