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。
備註
裝飾的說明,請參閱 「 擴充裝飾 」 一節編輯器的擴充點的 「 按鈕 」 一節,並在 [編輯器]。