Method GetItems
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
GetItems(int)
Returns all items in the tree view that are located at the provided depth. Whenever the requested depth is greater than the longest branch in the tree, an empty collection will be returned.
public IEnumerable<TreeViewItem> GetItems(int depth)
Parameters
depth
intDepth of the requested items.
Returns
- IEnumerable<TreeViewItem>
All items in the tree view that are located at the provided depth.