IVsTextView::SetSelectionMode Method (TextSelMode)
Visual Studio 2015
Sets the selection mode.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iSelMode
-
Type:
Microsoft.VisualStudio.TextManager.Interop::TextSelMode
[in] Enumeration value specifying the selection mode.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextView::SetSelectionMode(
[in] TextSelMode iSelMode
);
Use this method to set whether stream or box selection is the current selection mode. For more information, see TextSelMode.
Show: