Element.SetAttributeNS

Element.SetAttributeNS method

Adds a new attribute. If an attribute with the same local name and package URI is already present on the element, its prefix is changed to be the prefix part of the qualifiedName, and its value is changed to be the value parameter.

public void SetAttributeNS(String packageURI, String qualifiedName, String value)
ParameterTypeDescription
packageURIStringThe package URI.
qualifiedNameStringName of the qualified.
valueStringThe value.

See Also