Tries to find child element with given path Element path to find Found element of null
(string path)
| 86 | /// <param name="path">Element path to find</param> |
| 87 | /// <returns>Found element of null</returns> |
| 88 | public ContentItem FindChild(string path) |
| 89 | { |
| 90 | for (int i = 0; i < Children.Count; i++) |
| 91 | { |
| 92 | if (Children[i].Path == path) |
| 93 | return Children[i]; |
| 94 | } |
| 95 | |
| 96 | return null; |
| 97 | } |
| 98 | |
| 99 | /// <summary> |
| 100 | /// Check if folder contains child element with given path |