GuideList 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| GuideList() |
初始化 GuideList 类的新实例。 |
| GuideList(OpenXmlElement[]) |
使用指定的子元素初始化 GuideList 类的新实例。 |
| GuideList(IEnumerable<OpenXmlElement>) |
使用指定的子元素初始化 GuideList 类的新实例。 |
| GuideList(String) |
从外部 XML 初始化 GuideList 类的新实例。 |
初始化 GuideList 类的新实例。
public GuideList();
Public Sub New ()
适用于
DocumentFormat.OpenXml 3.0.1 和其他版本
| 产品 | 版本 |
|---|---|
| DocumentFormat.OpenXml | 2.7.1, 2.7.2, 2.8.0, 2.8.1, 2.9.0, 2.9.1, 2.10.0, 2.10.1, 2.11.0, 2.11.1, 2.11.2, 2.11.3, 2.12.0, 2.12.1, 2.12.2, 2.12.3, 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1 |
使用指定的子元素初始化 GuideList 类的新实例。
public GuideList(params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Presentation.GuideList : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Presentation.GuideList
Public Sub New (ParamArray childElements As OpenXmlElement())
参数
- childElements
- OpenXmlElement[]
指定子元素。
适用于
DocumentFormat.OpenXml 3.0.1 和其他版本
| 产品 | 版本 |
|---|---|
| DocumentFormat.OpenXml | 2.7.1, 2.7.2, 2.8.0, 2.8.1, 2.9.0, 2.9.1, 2.10.0, 2.10.1, 2.11.0, 2.11.1, 2.11.2, 2.11.3, 2.12.0, 2.12.1, 2.12.2, 2.12.3, 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1 |
使用指定的子元素初始化 GuideList 类的新实例。
public GuideList(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Presentation.GuideList : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Presentation.GuideList
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
参数
- childElements
- IEnumerable<OpenXmlElement>
指定子元素。
适用于
DocumentFormat.OpenXml 3.0.1 和其他版本
| 产品 | 版本 |
|---|---|
| DocumentFormat.OpenXml | 2.7.1, 2.7.2, 2.8.0, 2.8.1, 2.9.0, 2.9.1, 2.10.0, 2.10.1, 2.11.0, 2.11.1, 2.11.2, 2.11.3, 2.12.0, 2.12.1, 2.12.2, 2.12.3, 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1 |
从外部 XML 初始化 GuideList 类的新实例。
public GuideList(string outerXml);
new DocumentFormat.OpenXml.Presentation.GuideList : string -> DocumentFormat.OpenXml.Presentation.GuideList
Public Sub New (outerXml As String)
参数
- outerXml
- String
指定 元素的外部 XML。
适用于
DocumentFormat.OpenXml 3.0.1 和其他版本
| 产品 | 版本 |
|---|---|
| DocumentFormat.OpenXml | 2.7.1, 2.7.2, 2.8.0, 2.8.1, 2.9.0, 2.9.1, 2.10.0, 2.10.1, 2.11.0, 2.11.1, 2.11.2, 2.11.3, 2.12.0, 2.12.1, 2.12.2, 2.12.3, 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1 |