Click or drag to resize

OpenXmlElementRemoveAttribute Method

Removes the attribute from the current element.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public void RemoveAttribute(
	string localName,
	string namespaceUri
)

Parameters

localName  String
The local name of the attribute.
namespaceUri  String
The namespace URI of the attribute.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when the localName is empty.
See Also