IMultiSelectionBroker.GetSelectionsIntersectingSpan(SnapshotSpan) Method
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 the selections that intersect the given span. Virtual whitespace is ignored for this method.
public:
System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Text::Selection> ^ GetSelectionsIntersectingSpan(Microsoft::VisualStudio::Text::SnapshotSpan span);
public System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Text.Selection> GetSelectionsIntersectingSpan (Microsoft.VisualStudio.Text.SnapshotSpan span);
abstract member GetSelectionsIntersectingSpan : Microsoft.VisualStudio.Text.SnapshotSpan -> System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Text.Selection>
Public Function GetSelectionsIntersectingSpan (span As SnapshotSpan) As IReadOnlyList(Of Selection)
Parameters
- span
- SnapshotSpan
The span of interest.
Returns
The list of Selection objects.