共用方式為


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

'Declaration
Public Property Item As IVsHierarchyItem
public IVsHierarchyItem Item { get; private set; }
public:
property IVsHierarchyItem^ Item {
    IVsHierarchyItem^ get ();
    private: void set (IVsHierarchyItem^ value);
}
member Item : IVsHierarchyItem with get, private set
function get Item () : IVsHierarchyItem 
private function set Item (value : IVsHierarchyItem)

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