Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RecordMoveSelectionRel Method

IVsTextMacroHelper.RecordMoveSelectionRel Method

Records relative move of selection.

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

int RecordMoveSelectionRel(
	MOVESELECTION_REL_TYPE mst,
	int fBackwards,
	int fExtend
)

Parameters

mst
Type: Microsoft.VisualStudio.TextManager.Interop.MOVESELECTION_REL_TYPE

Flag indicating relative move type, see MOVESELECTION_REL_TYPE.

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.

COM Signature

From textmgr.idl:

HRESULT IVsTextMacroHelper::RecordMoveSelectionRel(
   MOVESELECTION_REL_TYPE mst,
   BOOL fBackwards,
   BOOL fExtend
);

Show:
© 2015 Microsoft