XmlExtensionsAddAttributes Method |
Namespace: CMS.Helpers
public static void AddAttributes( this XmlElement node, IDictionary attributes, bool removeEmptyEntries = true )
Exception | Condition |
---|---|
ArgumentException | Some key of attributes is an empty string. |
ArgumentNullException | node is null. |
InvalidOperationException | Keys of attributes cannot be ordered. |
XmlException | Some key of attributes contains characters not suitable for an XML attribute name. |