IMultiSelectionBroker.AddSelectionRange(IEnumerable<Selection>) Method

Definition

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.

Applies to