VsTextViewClass.SetSelectionMode(TextSelMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.