Expand Minimize

XmlElement.RemoveAttributeNS | removeAttributeNS method

Applies to Windows and Windows Phone

Removes the specified attribute from this element in the specified namespace.

Syntax


xmlElement.removeAttributeNS(namespaceUri, localName);

Parameters

namespaceUri

Type: Object [JavaScript] | System.Object [.NET] | Platform::Object [C++]

The namespace of attribute to be removed.

localName

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The name of the attribute without the namespace prefix.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Data.Xml.Dom
Windows::Data::Xml::Dom [C++]

Metadata

Windows.winmd

See also

XmlElement

 

 

Show:
© 2014 Microsoft