Version

AppendChild Method

Appends a pre-created child instance of IUIHierarchyNode onto a pre-created parent instance of IUIHierarchyNode.
Syntax
'Declaration
 
Sub AppendChild( _
   ByVal parent As IUIHierarchyNode, _
   ByVal child As IUIHierarchyNode _
) 
void AppendChild( 
   IUIHierarchyNode parent,
   IUIHierarchyNode child
)

Parameters

parent
The parent IUIHierarchyNode holding this child instance.
child
The child IUIHierarchyNode contained by this parent instance.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThrown when either the parent or the child nodes are the null reference (Nothing in Visual Basic .NET).
Remarks

The child node is added to the end of the child nodes contained by the parent node. Therefore, the order of adding the child nodes is significant to the application.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also