IMultiSelectionBroker.AllSelections Property

Definition

Gets a list of all selections associated with TextView. They will be sorted in the order of appearence in the underlying snapshot. This property is intended for edit operations and may be computationally expensive. If not all selections are required, use GetSelectionsIntersectingSpan(SnapshotSpan) instead.

This returns a selection as an Selection.

public:
 property System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Text::Selection> ^ AllSelections { System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Text::Selection> ^ get(); };
public System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Text.Selection> AllSelections { get; }
member this.AllSelections : System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Text.Selection>
Public ReadOnly Property AllSelections As IReadOnlyList(Of Selection)

Property Value

Applies to