OpenXmlElement.GetAttributes Method

Get a copy of all the attributes

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

Syntax

声明
Public Function GetAttributes As IList(Of OpenXmlAttribute)
用法
Dim instance As OpenXmlElement
Dim returnValue As IList(Of OpenXmlAttribute)

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

Return Value

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

Remarks

The returned list is a copy, non-live.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace