共用方式為


IVsHierarchyItemManager.OnItemAdded Event

Event raised after an OnItemAdded notification occurs for an item.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'宣告
Event OnItemAdded As EventHandler(Of HierarchyItemEventArgs)
event EventHandler<HierarchyItemEventArgs> OnItemAdded

.NET Framework Security

See Also

Reference

IVsHierarchyItemManager Interface

Microsoft.VisualStudio.Shell Namespace