Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the current selection mode.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function GetSelectionMode As TextSelMode
TextSelMode GetSelectionMode()
TextSelMode GetSelectionMode()
abstract GetSelectionMode : unit -> TextSelMode
function GetSelectionMode() : TextSelMode
Return Value
Type: Microsoft.VisualStudio.TextManager.Interop.TextSelMode
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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.
.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.