共用方式為


HierarchyItemEventArgs.Item Property

Gets the hierarchy item containing either the invalidated items or the item that was added.

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

Syntax

'宣告
Public Property Item As IVsHierarchyItem
public IVsHierarchyItem Item { get; private set; }

Property Value

Type: Microsoft.VisualStudio.Shell.IVsHierarchyItem
The hierarchy item containing either the invalidated items or the item that was added.

.NET Framework Security

See Also

Reference

HierarchyItemEventArgs Class

Microsoft.VisualStudio.Shell Namespace