Freigeben über


DateTimeValue Implicit-Konvertierung (DateTime to DateTimeValue)

Implicit converter from DateTime.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    value As DateTime _
) As DateTimeValue
'Usage
Dim input As DateTime
Dim output As DateTimeValue

output = CType(input, DateTimeValue)
public static implicit operator DateTimeValue (
    DateTime value
)

Parameter

Rückgabewert

Typ: DocumentFormat.OpenXml.DateTimeValue
A new DateTimeValue instance with the value.

Siehe auch

Referenz

DateTimeValue Klasse

DateTimeValue-Member

Implicit Überladung

DocumentFormat.OpenXml-Namespace