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
'Déclaration
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: System.Windows.UIElement
UIElement to remove.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.