IMultiSelectionBroker.TryRemoveSelection(Selection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a selection from the view.
public:
bool TryRemoveSelection(Microsoft::VisualStudio::Text::Selection selection);
public bool TryRemoveSelection (Microsoft.VisualStudio.Text.Selection selection);
abstract member TryRemoveSelection : Microsoft.VisualStudio.Text.Selection -> bool
Public Function TryRemoveSelection (selection As Selection) As Boolean
Parameters
- selection
- Selection
The selection to remove.
Returns
true
if successful. false
otherwise. This can fail if either the selection passed in does not exist in the view, or
it is the last one.