IVsTextMacroHelper::RecordMoveSelectionRel Method (MOVESELECTION_REL_TYPE, Int32, Int32)

 

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.

From textmgr.idl:

HRESULT IVsTextMacroHelper::RecordMoveSelectionRel(
   MOVESELECTION_REL_TYPE mst,
   BOOL fBackwards,
   BOOL fExtend
);
Return to top
Show: