Freigeben über


DateTimeValue.ToDateTime-Methode

Returns the internal DateTime representation of a DateTimeValue object.

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

Syntax

'Declaration
Public Shared Function ToDateTime ( _
    xmlAttribute As DateTimeValue _
) As DateTime
'Usage
Dim xmlAttribute As DateTimeValue
Dim returnValue As DateTime

returnValue = DateTimeValue.ToDateTime(xmlAttribute)
public static DateTime ToDateTime(
    DateTimeValue xmlAttribute
)

Parameter

Rückgabewert

Typ: System.DateTime
A DateTime value that represents a DateTimeValue object.

Siehe auch

Referenz

DateTimeValue Klasse

DateTimeValue-Member

DocumentFormat.OpenXml-Namespace