Share via


IAdornmentLayer.RemoveAdornmentsByVisualSpan(SnapshotSpan) Method

Definition

Removes all adornments with visual spans that overlap the given visual span. Any adornments without specified visual spans are ignored.

public:
 void RemoveAdornmentsByVisualSpan(Microsoft::VisualStudio::Text::SnapshotSpan visualSpan);
void RemoveAdornmentsByVisualSpan(Microsoft::VisualStudio::Text::SnapshotSpan visualSpan);
public void RemoveAdornmentsByVisualSpan (Microsoft.VisualStudio.Text.SnapshotSpan visualSpan);
abstract member RemoveAdornmentsByVisualSpan : Microsoft.VisualStudio.Text.SnapshotSpan -> unit
Public Sub RemoveAdornmentsByVisualSpan (visualSpan As SnapshotSpan)

Parameters

visualSpan
SnapshotSpan

The visual span to check for overlap with adornments.

Remarks

Any adornments without specified visual spans are ignored.

Applies to