Click or drag to resize

ShellTreeNode Methods

The ShellTreeNode type exposes the following members.

Methods
  NameDescription
Public methodCreateFolder
Creates a new Folder if the ShellListNode is a Folder; may throw an Exception, see CreateDirectory(String) for the Exceptions that can occur
Public methodGetChildNode
Returns subnode with the given caption.
Public methodGetDataObject
Returns the Windows Shell IDataObject interface for this object wrapped into an instance of type DataObject.
Public methodInvertCheckState
This method inverts the CheckState of the ShellTreeNode instance. If the Item was checked it's state will be set to unchecked. If it was Grayed or UnChecked it will be Checked afterwards. If the Item is not associated (contained) in a ShellTreeView or the ShellTreeView has no ShellControlConnector assigned, this method does nothing and returns immediately. Furthermore the TreeView needs to have the CheckBoxes property enabled.
Public methodRefresh
Refresh this ShellTreeNode.
Public methodRefreshCheckState
Refreshes the value of the CheckState CheckSate property.
Public methodRefreshCheckState(ShellTreeNodeRefreshDirection)
Refreshes the value of the CheckState property recursively for the given direction.
Public methodRename(String)
Renames the file or folder that is referenced by this ShellTreeItem instance to the new name given as a parameter.
Protected methodRename(String, Boolean)
Renames the file or folder that is referenced by this ShellTreeItem instance to the new name given as a parameter.
Public methodSetIcon
Sets the icon.
Public methodSort
(Re-)Sorts the subnodes.
Top
See Also