IVsTextMacroHelper.RecordMoveSelectionRel Method
Records relative move of selection.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function RecordMoveSelectionRel ( _
mst As MOVESELECTION_REL_TYPE, _
fBackwards As Integer, _
fExtend As Integer _
) As Integer
int RecordMoveSelectionRel(
MOVESELECTION_REL_TYPE mst,
int fBackwards,
int fExtend
)
int RecordMoveSelectionRel(
MOVESELECTION_REL_TYPE mst,
int fBackwards,
int fExtend
)
abstract RecordMoveSelectionRel :
mst:MOVESELECTION_REL_TYPE *
fBackwards:int *
fExtend:int -> int
function RecordMoveSelectionRel(
mst : MOVESELECTION_REL_TYPE,
fBackwards : int,
fExtend : int
) : int
Parameters
mst
Type: Microsoft.VisualStudio.TextManager.Interop.MOVESELECTION_REL_TYPEFlag indicating relative move type, see MOVESELECTION_REL_TYPE.
fBackwards
Type: System.Int32Flag indicating whether move was backward (true) or forward (false).
fExtend
Type: System.Int32Flag 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.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextMacroHelper::RecordMoveSelectionRel(
MOVESELECTION_REL_TYPE mst,
BOOL fBackwards,
BOOL fExtend
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.