IAdornmentLayer.RemoveAdornmentsByVisualSpan(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.
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.