Compartir a través de


VsTextViewClass.SetSelectionMode(TextSelMode) Method

Definition

Sets the selection mode.

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);
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

Parameters

iSelMode
TextSelMode

[in] Integer containing the selection mode.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to