IVsTextMacroHelper.RecordMoveSelectionRel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
);