Compartilhar via


IAdornmentLayer.RemoveAdornment Method

Removes a specific UIElement.

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

Syntax

'Declaration
Sub RemoveAdornment ( _
    adornment As UIElement _
)
void RemoveAdornment(
    UIElement adornment
)
void RemoveAdornment(
    UIElement^ adornment
)
abstract RemoveAdornment : 
        adornment:UIElement -> unit
function RemoveAdornment(
    adornment : UIElement
)

Parameters

  • adornment
    Type: UIElement

    UIElement to remove.

.NET Framework Security

See Also

Reference

IAdornmentLayer Interface

Microsoft.VisualStudio.Text.Editor Namespace