Table of Contents

Method LogAsTreeItemChilds

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

LogAsTreeItemChilds(TreeControlItem, object?)

Logs the contents of an object as child items of a TreeControlItem. If the object is an array or an enumerable collection, it logs each item up to a maximum of 100. Also records the total item count.

public static void LogAsTreeItemChilds(TreeControlItem parent, object? result)

Parameters

parent TreeControlItem

The parent tree item to which the logged elements will be added.

result object

The object to log, which may be an array or an enumerable collection.