IAdornmentLayer.RemoveAdornmentsByTag 方法

移除与特定标记相关联的所有 UIElement 对象。

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Sub RemoveAdornmentsByTag ( _
    tag As Object _
)
void RemoveAdornmentsByTag(
    Object tag
)
void RemoveAdornmentsByTag(
    Object^ tag
)
abstract RemoveAdornmentsByTag : 
        tag:Object -> unit
function RemoveAdornmentsByTag(
    tag : Object
)

参数

  • tag
    类型:Object

    使用的标记移除 UI 元素。

.NET Framework 安全性

请参阅

参考

IAdornmentLayer 接口

Microsoft.VisualStudio.Text.Editor 命名空间