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
- xmlAttribute
Typ: DocumentFormat.OpenXml.DateTimeValue
A DateTimeValue object to retrieve an internal DateTime representation.
Rückgabewert
Typ: System.DateTime
A DateTime value that represents a DateTimeValue object.