Method TryFindTreeViewItem
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
TryFindTreeViewItem(string, out TreeViewItem)
Can be used to retrieve an item from the tree view based on its key value.
public bool TryFindTreeViewItem(string key, out TreeViewItem item)
Parameters
key
stringKey used to search for the item.
item
TreeViewItemItem in the tree that matches the provided key.
Returns
- bool
True if the item was found, otherwise false.