 | OpenXmlElementGetAttribute Method |
Gets an Open XML attribute with the specified tag name and namespace URI.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic OpenXmlAttribute GetAttribute(
string localName,
string namespaceUri
)
Public Function GetAttribute (
localName As String,
namespaceUri As String
) As OpenXmlAttribute
public:
OpenXmlAttribute GetAttribute(
String^ localName,
String^ namespaceUri
)
member GetAttribute :
localName : string *
namespaceUri : string -> OpenXmlAttribute
Parameters
- localName String
- The tag name.
- namespaceUri String
- The namespace URI.
Return Value
OpenXmlAttributeReturns a clone of the OpenXmlAttribute with local name equal to "localName" and namespace URI equal to "namespaceUri".
Exceptions
See Also