IVsTextMacroHelper.RecordMoveSelectionRel(MOVESELECTION_REL_TYPE, Int32, Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Registra a movimentação relativa da seleção.
public:
int RecordMoveSelectionRel(Microsoft::VisualStudio::TextManager::Interop::MOVESELECTION_REL_TYPE mst, int fBackwards, int fExtend);
public:
int RecordMoveSelectionRel(Microsoft::VisualStudio::TextManager::Interop::MOVESELECTION_REL_TYPE mst, int fBackwards, int fExtend);
int RecordMoveSelectionRel(Microsoft::VisualStudio::TextManager::Interop::MOVESELECTION_REL_TYPE mst, int fBackwards, int fExtend);
public int RecordMoveSelectionRel (Microsoft.VisualStudio.TextManager.Interop.MOVESELECTION_REL_TYPE mst, int fBackwards, int fExtend);
abstract member RecordMoveSelectionRel : Microsoft.VisualStudio.TextManager.Interop.MOVESELECTION_REL_TYPE * int * int -> int
Public Function RecordMoveSelectionRel (mst As MOVESELECTION_REL_TYPE, fBackwards As Integer, fExtend As Integer) As Integer
Parâmetros
Sinalizador indicando o tipo de movimentação relativa, consulte MOVESELECTION_REL_TYPE .
- fBackwards
- Int32
Sinalizador que indica se a movimentação foi retroativa (true) ou Forward (false).
- fExtend
- Int32
Sinalizador que indica se a movimentação foi estendida.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.
Comentários
Assinatura COM
De textmgr. idl:
HRESULT IVsTextMacroHelper::RecordMoveSelectionRel(
MOVESELECTION_REL_TYPE mst,
BOOL fBackwards,
BOOL fExtend
);