Compartir a través de


Comment Constructors

Definition

Overloads

Comment()

Initializes a new instance of the Comment class.

Comment(OpenXmlElement[])

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

Comment(IEnumerable<OpenXmlElement>)

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

Comment(String)

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

Comment()

Initializes a new instance of the Comment class.

public Comment ();
Public Sub New ()

Applies to

Comment(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Comment(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Comment(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to