NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TreeNode.FromHandle

Returns a TreeNode object for the given HTREEITEM handle

[Visual Basic]
Public Shared Function FromHandle( _
   ByVal tree As TreeView, _
   ByVal handle As Integer _
) As TreeNode
[C#]
public static TreeNode FromHandle(
   TreeView tree,
   int handle
);
[C++]
public: static TreeNode* FromHandle(
   TreeView* tree,
   int handle
);
[JScript]
public static function FromHandle(
   tree : TreeView,
   handle : int
) : TreeNode;

Parameters

tree
The treeview which contains the item specified by handle
handle
The handle of the item

See Also

TreeNode Class | TreeNode Members | System.WinForms Namespace