共用方式為


CommentExtension Constructors

Definition

Overloads

CommentExtension()

Initializes a new instance of the CommentExtension class.

CommentExtension(OpenXmlElement[])

Initializes a new instance of the CommentExtension class with the specified child elements.

CommentExtension(IEnumerable<OpenXmlElement>)

Initializes a new instance of the CommentExtension class with the specified child elements.

CommentExtension(String)

Initializes a new instance of the CommentExtension class from outer XML.

CommentExtension()

Initializes a new instance of the CommentExtension class.

public CommentExtension ();
Public Sub New ()

Applies to

CommentExtension(OpenXmlElement[])

Initializes a new instance of the CommentExtension class with the specified child elements.

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

CommentExtension(IEnumerable<OpenXmlElement>)

Initializes a new instance of the CommentExtension class with the specified child elements.

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

CommentExtension(String)

Initializes a new instance of the CommentExtension class from outer XML.

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to