IVsTextView.GetSelectionMode 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.
Returns the current selection mode.
public:
Microsoft::VisualStudio::TextManager::Interop::TextSelMode GetSelectionMode();
public:
Microsoft::VisualStudio::TextManager::Interop::TextSelMode GetSelectionMode();
Microsoft::VisualStudio::TextManager::Interop::TextSelMode GetSelectionMode();
public Microsoft.VisualStudio.TextManager.Interop.TextSelMode GetSelectionMode ();
abstract member GetSelectionMode : unit -> Microsoft.VisualStudio.TextManager.Interop.TextSelMode
Public Function GetSelectionMode () As TextSelMode
Returns
Returns TextSelMode enum value SM_STREAM or SM_BOX.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextView::GetSelectionMode();
Use this method to determine whether stream or box selection is the current selection mode. For more information, see TextSelMode.