Table of Contents

Method ForEachChild

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

ForEachChild(XmlDocument, Func<XmlNode, object?, bool>?, object?)

Calls specified action for the each child node of the xml document. Root node is ignored.

public static bool ForEachChild(XmlDocument document, Func<XmlNode, object?, bool>? nodeAction, object? userData = null)

Parameters

document XmlDocument

Xml document.

nodeAction Func<XmlNode, object, bool>

Action to call.

userData object

User data passed to the node action.

Returns

bool