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
'Usage
Dim instance As VsTextViewClass
Dim returnValue As TextSelMode
returnValue = instance.GetSelectionMode()
public virtual TextSelMode GetSelectionMode()
public:
virtual TextSelMode GetSelectionMode()
public function GetSelectionMode() : TextSelMode
Return Value
Type: Microsoft.VisualStudio.TextManager.Interop.TextSelMode
Implements
IVsTextView.GetSelectionMode()
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.