Share via


StringItem Constructors

Definition

Overloads

StringItem()

Initializes a new instance of the StringItem class.

StringItem(OpenXmlElement[])

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

StringItem(IEnumerable<OpenXmlElement>)

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

StringItem(String)

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

StringItem()

Initializes a new instance of the StringItem class.

public StringItem ();
Public Sub New ()

Applies to

StringItem(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

StringItem(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

StringItem(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to