This methods adds the currently active object of the m_ShellBrowser to the TreeNode.
| C# | Visual Basic | Visual C++ |
protected ShellTreeNode AddShellItem( ShellTreeNode p_Parent )
Protected Function AddShellItem ( _ p_Parent As ShellTreeNode _ ) As ShellTreeNode
protected: ShellTreeNode^ AddShellItem( ShellTreeNode^ p_Parent )
- p_Parent (ShellTreeNode)
- The parent ShellTreeNode of the added item.
The new created ShellTreeNode instance is returned.
Null, if the ShowOptionsShouldShow determined not to include the node or if the AddTreeNode event had the CanAdd set to false.