共用方式為


IVsTextMacroHelper.RecordMoveSelectionAbs Method

Definition

Records absolute move of selection.

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

Parameters

mst
MOVESELECTION_ABS_TYPE

Flag indicating absolute move type, see MOVESELECTION_ABS_TYPE.

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::RecordMoveSelectionAbs(MOVESELECTION_ABS_TYPE mst, BOOL fExtend);  

Applies to