次の方法で共有


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

'宣言
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