Udostępnij za pośrednictwem


DateTimeValue.ToDateTime Method

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
)

Parameters

Return Value

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

See Also

Reference

DateTimeValue Class

DateTimeValue Members

DocumentFormat.OpenXml Namespace