Share via


VsTextViewClass.GetSelectionMode Method

Returns the current selection mode.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Public Overridable Function GetSelectionMode As TextSelMode
public virtual TextSelMode GetSelectionMode()
public:
virtual TextSelMode GetSelectionMode()
abstract GetSelectionMode : unit -> TextSelMode  
override GetSelectionMode : unit -> TextSelMode
public function GetSelectionMode() : TextSelMode

Return Value

Type: Microsoft.VisualStudio.TextManager.Interop.TextSelMode
Returns TextSelMode enum value SM_STREAM or SM_BOX.

Implements

IVsTextView.GetSelectionMode()

.NET Framework Security

See Also

Reference

VsTextViewClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace