SdtContentCell 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| SdtContentCell() | 初始化 SdtContentCell 类的新实例。 | 
| SdtContentCell(OpenXmlElement[]) | 使用指定的子元素初始化 SdtContentCell 类的新实例。 | 
| SdtContentCell(IEnumerable<OpenXmlElement>) | 使用指定的子元素初始化 SdtContentCell 类的新实例。 | 
| SdtContentCell(String) | 从外部 XML 初始化 SdtContentCell 类的新实例。 | 
SdtContentCell()
初始化 SdtContentCell 类的新实例。
public SdtContentCell();Public Sub New ()适用于
SdtContentCell(OpenXmlElement[])
使用指定的子元素初始化 SdtContentCell 类的新实例。
public SdtContentCell(params DocumentFormat.OpenXml.OpenXmlElement[] childElements);new DocumentFormat.OpenXml.Wordprocessing.SdtContentCell : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.SdtContentCellPublic Sub New (ParamArray childElements As OpenXmlElement())参数
- childElements
- OpenXmlElement[]
指定子元素。
适用于
SdtContentCell(IEnumerable<OpenXmlElement>)
使用指定的子元素初始化 SdtContentCell 类的新实例。
public SdtContentCell(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);new DocumentFormat.OpenXml.Wordprocessing.SdtContentCell : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.SdtContentCellPublic Sub New (childElements As IEnumerable(Of OpenXmlElement))参数
- childElements
- IEnumerable<OpenXmlElement>
指定子元素。
适用于
SdtContentCell(String)
从外部 XML 初始化 SdtContentCell 类的新实例。
public SdtContentCell(string outerXml);new DocumentFormat.OpenXml.Wordprocessing.SdtContentCell : string -> DocumentFormat.OpenXml.Wordprocessing.SdtContentCellPublic Sub New (outerXml As String)参数
- outerXml
- String
指定 元素的外部 XML。