CommentAuthor 构造函数

定义

重载

CommentAuthor()

初始化 CommentAuthor 类的新实例。

CommentAuthor(OpenXmlElement[])

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

CommentAuthor(IEnumerable<OpenXmlElement>)

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

CommentAuthor(String)

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

CommentAuthor()

初始化 CommentAuthor 类的新实例。

public CommentAuthor ();
Public Sub New ()

适用于

CommentAuthor(OpenXmlElement[])

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

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

参数

childElements
OpenXmlElement[]

指定子元素。

适用于

CommentAuthor(IEnumerable<OpenXmlElement>)

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

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

参数

childElements
IEnumerable<OpenXmlElement>

指定子元素。

适用于

CommentAuthor(String)

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

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

参数

outerXml
String

指定 元素的外部 XML。

适用于