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: 6.0.0.0 (6.0.6225.27214)
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