Click or drag to resize

XmlUtilsAddAttributeValue Method (XmlNode, String, DateTime, XmlDocument)

Creates and adds an attribute w. value to a xml node.

Namespace:  Omada.OE.AppLogic.Serialization
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static XmlAttribute AddAttributeValue(
	XmlNode node,
	string attribute,
	DateTime value,
	XmlDocument xmlDoc
)

Parameters

node
Type: System.XmlXmlNode
Node to add the attribute to.
attribute
Type: SystemString
Name of the attribute to add.
value
Type: SystemDateTime
Value of the attribute.
xmlDoc
Type: System.XmlXmlDocument
Document that the node resides in.

Return Value

Type: XmlAttribute
Returns the new attribute.
See Also