IMultiSelectionBroker.AllSelections Property
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.
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)