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