Table of Contents

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

key string

Key used to search for the item.

item TreeViewItem<T>

Item in the tree that matches the provided key.

Returns

bool

True if the item was found, otherwise false.