| XmlExtensionsAddAttributes Method | 
Namespace: CMS.Helpers
 Syntax
Syntaxpublic static void AddAttributes( this XmlElement node, IDictionary attributes, bool removeEmptyEntries = true )
 Exceptions
Exceptions| 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. | 
 See Also
See Also