Udostępnij za pośrednictwem


IMultiSelectionBroker.GetSelectionsIntersectingSpan(SnapshotSpan) Method

Definition

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.

Applies to