XmlHelperSetXmlNodeAttributes Method (XmlNode, String, Boolean) |
Sets (updates or inserts) xml attributes to specified xml node.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static void SetXmlNodeAttributes(
XmlNode node,
string[,] attributes,
bool insertEmpty
)
Parameters
- node
- Type: System.XmlXmlNode
Xml node - attributes
- Type: SystemString
Array of attributes (0 - name, 1 - value]) to set - insertEmpty
- Type: SystemBoolean
Indicates whether attributes with value "" (empty string) should be inserted to the XML
See Also