ITextSelection.Clear Method
Makes the selection zero length, with a start and end position at the logical end of the current selection.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Déclaration
Sub Clear
void Clear()
void Clear()
abstract Clear : unit -> unit
function Clear()
Remarks
In a forward selection, the logical end is at the right edge of the selection. In a reverse selection, the logical end is at the left edge of the selection.
.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.