DateTimeValue.FromDateTime-Methode
Returns a new DateTimeValue object created from DateTime.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Function FromDateTime ( _
value As DateTime _
) As DateTimeValue
'Usage
Dim value As DateTime
Dim returnValue As DateTimeValue
returnValue = DateTimeValue.FromDateTime(value)
public static DateTimeValue FromDateTime(
DateTime value
)
Parameter
- value
Typ: System.DateTime
A DateTime value to create a new DateTimeValue object from.
Rückgabewert
Typ: DocumentFormat.OpenXml.DateTimeValue
A DateTimeValue that corresponds to the value parameter.