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
'宣告
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_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.
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.