Comment Comment Comment Constructors

Definition

Overloads

Comment() Comment()

Initializes a new instance of the Comment class.

Comment(OpenXmlElement[]) Comment(OpenXmlElement[]) Comment(OpenXmlElement[])

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

Comment(IEnumerable<OpenXmlElement>) Comment(IEnumerable<OpenXmlElement>) Comment(IEnumerable<OpenXmlElement>)

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

Comment(String) Comment(String) Comment(String)

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

Comment() Comment()

Initializes a new instance of the Comment class.

public Comment ();
Public Sub New ()

Comment(OpenXmlElement[]) Comment(OpenXmlElement[]) 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.Spreadsheet.Comment : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.Comment
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Comment(IEnumerable<OpenXmlElement>) Comment(IEnumerable<OpenXmlElement>) 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.Spreadsheet.Comment : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.Comment
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Comment(String) Comment(String) Comment(String)

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

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

Parameters

outerXml
String String String

Specifies the outer XML of the element.

Applies to