Share via


OpenXmlElement.GetAttributes-Methode

Get a copy of all the attributes

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Function GetAttributes As IList(Of OpenXmlAttribute)
'Usage
Dim instance As OpenXmlElement
Dim returnValue As IList(Of OpenXmlAttribute)

returnValue = instance.GetAttributes()
public IList<OpenXmlAttribute> GetAttributes()

Rückgabewert

Typ: System.Collections.Generic.IList<OpenXmlAttribute>
A copy of the attributes list. Return empty list if there is no attributes.

Hinweise

The returned list is a copy, non-live.

Siehe auch

Referenz

OpenXmlElement Klasse

OpenXmlElement-Member

DocumentFormat.OpenXml-Namespace