Table of Contents

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 string

Key used to search for the item.

item TreeViewItem

Item in the tree that matches the provided key.

Returns

bool

True if the item was found, otherwise false.