OpenXmlElement.GetAttributes 方法

定义

获取一个列表,该列表包含所有属性的副本。

public System.Collections.Generic.IList<DocumentFormat.OpenXml.OpenXmlAttribute> GetAttributes ();
member this.GetAttributes : unit -> System.Collections.Generic.IList<DocumentFormat.OpenXml.OpenXmlAttribute>
Public Function GetAttributes () As IList(Of OpenXmlAttribute)

返回

属性列表。 如果没有属性,则返回空列表。

注解

返回的列表是非实时副本。

适用于