IVsTextMacroHelper.RecordMoveSelectionRel Yöntem

Tanım

Seçimin göreli taşımasını kaydeder.

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

Parametreler

mst
MOVESELECTION_REL_TYPE

Göreli taşıma türünü belirten bayrak, bkz MOVESELECTION_REL_TYPE ..

fBackwards
Int32

Taşımanın geriye doğru olup olmadığını belirten bayrak (true) veya ilet (false).

fExtend
Int32

Geçiş uzatılmayı belirten bayrak.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Textmgr. IDL dosyasından:

HRESULT IVsTextMacroHelper::RecordMoveSelectionRel(  
   MOVESELECTION_REL_TYPE mst,  
   BOOL fBackwards,  
   BOOL fExtend  
);  

Şunlara uygulanır