Element.SetAttributeNode Method |
Adds the specified Attribute.
[VBScript] Public Function SetAttributeNode( _ ByVal newAttr As Attribute _ ) As Attribute
[JScript] public function SetAttributeNode( newAttr : Attribute ) : Attribute;
If the attribute replaces an existing attribute with the same name, the old Attribute is returned, otherwise null is returned.