Partager via


IAdornmentLayer.RemoveAdornmentsByVisualSpan Method

Removes all adornments with visual spans that overlap the given visual span.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Sub RemoveAdornmentsByVisualSpan ( _
    visualSpan As SnapshotSpan _
)
void RemoveAdornmentsByVisualSpan(
    SnapshotSpan visualSpan
)
void RemoveAdornmentsByVisualSpan(
    SnapshotSpan visualSpan
)
abstract RemoveAdornmentsByVisualSpan : 
        visualSpan:SnapshotSpan -> unit
function RemoveAdornmentsByVisualSpan(
    visualSpan : SnapshotSpan
)

Parameters

Remarks

Any adornments without specified visual spans are ignored.

.NET Framework Security

See Also

Reference

IAdornmentLayer Interface

Microsoft.VisualStudio.Text.Editor Namespace