IMultiSelectionBroker.AddSelectionRange(IEnumerable<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.
Adds a list of selections to AllSelections.
public:
void AddSelectionRange(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Text::Selection> ^ range);
public void AddSelectionRange (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Selection> range);
abstract member AddSelectionRange : seq<Microsoft.VisualStudio.Text.Selection> -> unit
Public Sub AddSelectionRange (range As IEnumerable(Of Selection))
Parameters
- range
- IEnumerable<Selection>
The list of selections to add.
Remarks
This will throw if any of the selections are not based on CurrentSnapshot.