 | 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.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
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