TreeNodeExtensionsNextNodeDepthFromRoot Method
Gets the next node by depth search, restricting the search to the children of the specified searchRoot.
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static TreeNode? NextNodeDepthFromRoot(
this TreeNode? node,
TreeNode? searchRoot
)
<ExtensionAttribute>
Public Shared Function NextNodeDepthFromRoot (
node As TreeNode,
searchRoot As TreeNode
) As TreeNode
public:
[ExtensionAttribute]
static TreeNode^ NextNodeDepthFromRoot(
TreeNode^ node,
TreeNode^ searchRoot
)
[<ExtensionAttribute>]
static member NextNodeDepthFromRoot :
node : TreeNode *
searchRoot : TreeNode -> TreeNode
- node TreeNode
- Start node
- searchRoot TreeNode
- Root node above which searching is not performed
TreeNodeThe next node by depth search, or
if no next node was found under
searchRoot.In Visual Basic and C#, you can call this method as an instance method on any object of type
TreeNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).