Find a tree node in a Node.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Function FindTreeNodeFromTag ( _
	node As TreeNode, _
	tag As Object _
) As TreeNode
C#
public static TreeNode FindTreeNodeFromTag(
	TreeNode node,
	Object tag
)

Parameters

node
Type: System.Windows.Forms..::..TreeNode
The parent node to search into.
tag
Type: System..::..Object
The tag to search. Null value are not supported.

Return Value

Return the tree node if it's found or null if not found.

See Also