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)

void Clear()

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.

Return to top
Show: