Click or drag to resize

XmlUtilsProcessOptionalElement Method

Processes an optional child element by executing the specified action if available. If no matching child element is available, the action is not executed.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static void ProcessOptionalElement(
	XmlElement xeElement,
	string name,
	Action<XmlElement> dAction
)

Parameters

xeElement
Type: System.XmlXmlElement
The parent element.
name
Type: SystemString
The name of the optional child element.
dAction
Type: SystemActionXmlElement
The action to be executed on the child element.
See Also