VsTextViewClass.SetSelectionMode(TextSelMode) Yöntem

Tanım

Seçim modunu ayarlar.

public:
 virtual int SetSelectionMode(Microsoft::VisualStudio::TextManager::Interop::TextSelMode iSelMode) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::SetSelectionMode;
public:
 virtual int SetSelectionMode(Microsoft::VisualStudio::TextManager::Interop::TextSelMode iSelMode) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::SetSelectionMode;
 virtual int SetSelectionMode(Microsoft::VisualStudio::TextManager::Interop::TextSelMode iSelMode);
public virtual int SetSelectionMode (Microsoft.VisualStudio.TextManager.Interop.TextSelMode iSelMode);
abstract member SetSelectionMode : Microsoft.VisualStudio.TextManager.Interop.TextSelMode -> int
override this.SetSelectionMode : Microsoft.VisualStudio.TextManager.Interop.TextSelMode -> int
Public Overridable Function SetSelectionMode (iSelMode As TextSelMode) As Integer

Parametreler

iSelMode
TextSelMode

'ndaki Seçim modunu içeren tamsayı.

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.

Uygulamalar

Şunlara uygulanır