Udostępnij za pośrednictwem


CommentText Constructors

Definition

Overloads

CommentText()

Initializes a new instance of the CommentText class.

CommentText(OpenXmlElement[])

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

CommentText(IEnumerable<OpenXmlElement>)

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

CommentText(String)

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

CommentText()

Initializes a new instance of the CommentText class.

public CommentText ();
Public Sub New ()

Applies to

CommentText(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

CommentText(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

CommentText(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to