IAdornmentLayer.RemoveAdornmentsByTag Method
Removes all UIElement objects associated with a particular tag.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Sub RemoveAdornmentsByTag ( _
tag As Object _
)
void RemoveAdornmentsByTag(
Object tag
)
void RemoveAdornmentsByTag(
Object^ tag
)
abstract RemoveAdornmentsByTag :
tag:Object -> unit
function RemoveAdornmentsByTag(
tag : Object
)
Parameters
- tag
Type: System.Object
The tag to use to remove the UI elements..
.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.