 | OpenXmlElementGetAttributes Method |
Gets a list that contains a copy of all the attributes.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic IList<OpenXmlAttribute> GetAttributes()
Public Function GetAttributes As IList(Of OpenXmlAttribute)
public:
IList<OpenXmlAttribute>^ GetAttributes()
member GetAttributes : unit -> IList<OpenXmlAttribute>
Return Value
IListOpenXmlAttributeA list of attributes. Return an empty list if there are no attributes.
RemarksThe returned list is a non-live copy.
See Also