共用方式為


DateTimeValue Constructors

Definition

Overloads

DateTimeValue()

Initializes a new instance of the DateTimeValue class.

DateTimeValue(DateTimeValue)

Initializes a new instance of the DateTimeValue class by deep copying the supplied DateTimeValue class.

DateTimeValue(DateTime)

Initializes a new instance of the DateTimeValue class using the supplied DateTime value.

DateTimeValue()

Initializes a new instance of the DateTimeValue class.

public DateTimeValue ();
Public Sub New ()

Applies to

DateTimeValue(DateTimeValue)

Initializes a new instance of the DateTimeValue class by deep copying the supplied DateTimeValue class.

public DateTimeValue (DocumentFormat.OpenXml.DateTimeValue source);
new DocumentFormat.OpenXml.DateTimeValue : DocumentFormat.OpenXml.DateTimeValue -> DocumentFormat.OpenXml.DateTimeValue
Public Sub New (source As DateTimeValue)

Parameters

source
DateTimeValue

The source DateTimeValue class.

Applies to

DateTimeValue(DateTime)

Initializes a new instance of the DateTimeValue class using the supplied DateTime value.

public DateTimeValue (DateTime value);
new DocumentFormat.OpenXml.DateTimeValue : DateTime -> DocumentFormat.OpenXml.DateTimeValue
Public Sub New (value As DateTime)

Parameters

value
DateTime

The DateTime value.

Applies to