共用方式為


DateTimeItem Constructors

Definition

Overloads

DateTimeItem()

Initializes a new instance of the DateTimeItem class.

DateTimeItem(OpenXmlElement[])

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

DateTimeItem(IEnumerable<OpenXmlElement>)

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

DateTimeItem(String)

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

DateTimeItem()

Initializes a new instance of the DateTimeItem class.

public DateTimeItem ();
Public Sub New ()

Applies to

DateTimeItem(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DateTimeItem(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DateTimeItem(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to