You can get a MNComponent by setting a fullpath relative to the given MNComponent. Separated are the names by "/".
MNComponent root = new MNComponent(); MNComponent a = new MNComponent(); MNComponent b = new MNComponent(); MNComponent c = new MNComponent(); a.MNName = "Frank"; b.MNName = "Joe"; c.MNName = "Sam"; c.Parent = b; b.Parent = a; a.Parent = root; MNComponent d = root.ChildByPathName("Frank/Joe/Sam"); // d is then the component c
If no component with this path was found null will be returned