다음을 통해 공유


Comments Constructors

Definition

Overloads

Comments()

Initializes a new instance of the Comments class.

Comments(OpenXmlElement[])

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

Comments(IEnumerable<OpenXmlElement>)

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

Comments(String)

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

Comments()

Initializes a new instance of the Comments class.

public Comments ();
Public Sub New ()

Applies to

Comments(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Comments(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Comments(String)

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

public Comments (string outerXml);
new DocumentFormat.OpenXml.Office2016.Excel.Comments : string -> DocumentFormat.OpenXml.Office2016.Excel.Comments
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to