Compartilhar via


IMultiSelectionBroker.AddSelection(Selection) Method

Definition

Adds a selection to AllSelections.

public:
 void AddSelection(Microsoft::VisualStudio::Text::Selection selection);
public void AddSelection (Microsoft.VisualStudio.Text.Selection selection);
abstract member AddSelection : Microsoft.VisualStudio.Text.Selection -> unit
Public Sub AddSelection (selection As Selection)

Parameters

selection
Selection

The selection to add

Remarks

This will throw if it not based on CurrentSnapshot.

Applies to