Share via


Sources 构造函数

定义

重载

Sources()

初始化 Sources 类的新实例。

Sources(OpenXmlElement[])

使用指定的子元素初始化 Sources 类的新实例。

Sources(IEnumerable<OpenXmlElement>)

使用指定的子元素初始化 Sources 类的新实例。

Sources(String)

从外部 XML 初始化 Sources 类的新实例。

Sources()

初始化 Sources 类的新实例。

public Sources ();
Public Sub New ()

适用于

Sources(OpenXmlElement[])

使用指定的子元素初始化 Sources 类的新实例。

public Sources (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Bibliography.Sources : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Bibliography.Sources
Public Sub New (ParamArray childElements As OpenXmlElement())

参数

childElements
OpenXmlElement[]

指定子元素。

适用于

Sources(IEnumerable<OpenXmlElement>)

使用指定的子元素初始化 Sources 类的新实例。

public Sources (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Bibliography.Sources : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Bibliography.Sources
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

参数

childElements
IEnumerable<OpenXmlElement>

指定子元素。

适用于

Sources(String)

从外部 XML 初始化 Sources 类的新实例。

public Sources (string outerXml);
new DocumentFormat.OpenXml.Bibliography.Sources : string -> DocumentFormat.OpenXml.Bibliography.Sources
Public Sub New (outerXml As String)

参数

outerXml
String

指定 元素的外部 XML。

适用于