IMultiSelectionBroker.AddSelectionRange(IEnumerable<Selection>) 方法

定义

向添加一个选择列表 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))

参数

range
IEnumerable<Selection>

要添加的选项的列表。

注解

如果任何选择都不基于,将引发此异常 CurrentSnapshot

适用于