This documentation is archived and is not being maintained.

HierarchyNode.OnItemAdded Method

Visual Studio 2005

Notifies clients when an item is added to the hierarchy.

This method is not CLS-compliant.  

Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in mpf.project.nonshipping.dll)

public void OnItemAdded (
	HierarchyNode parent,
	HierarchyNode child
)
public void OnItemAdded (
	HierarchyNode parent, 
	HierarchyNode child
)
public function OnItemAdded (
	parent : HierarchyNode, 
	child : HierarchyNode
)

Parameters

parent

Identifier of the parent, or root node of the hierarchy in which the item is added.

child

Identifier that indicates where the item is added in relation to other items (siblings) within the parent hierarchy.

Show: