AdornmentRemovedCallback 委托

定义从 IAdornmentLayer 中移除 UIElement 时的行为。

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

语法

声明
Public Delegate Sub AdornmentRemovedCallback ( _
    tag As Object, _
    element As UIElement _
)
public delegate void AdornmentRemovedCallback(
    Object tag,
    UIElement element
)
public delegate void AdornmentRemovedCallback(
    Object^ tag, 
    UIElement^ element
)
type AdornmentRemovedCallback = 
    delegate of  
        tag:Object * 
        element:UIElement -> unit
JScript 不支持委托。

参数

  • tag
    类型:Object

    与 element 关联的标记。

  • element
    类型:UIElement

    从视图中移除的 UIElement

备注

有关修饰的说明,请参见 编辑扩展点 “扩展的修饰”部分和 在编辑器内“修饰”一节。

请参阅

参考

Microsoft.VisualStudio.Text.Editor 命名空间