Conversions.ConvertDoubleToDateTime-Methode

Konvertieren Sie ein Double (OA-Datumszeitformat) in ein DateTime-Format. Im Gegensatz zu DateTime.FromOADate löst dies keine Ausnahmen aus.

Namespace:Microsoft.Isam.Esent.Interop
Versammlung: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Syntax

'Declaration
Public Shared Function ConvertDoubleToDateTime ( _
    d As Double _
) As DateTime
'Usage
Dim d As Double
Dim returnValue As DateTime

returnValue = Conversions.ConvertDoubleToDateTime(d)
public static DateTime ConvertDoubleToDateTime(
    double d
)

Parameter

Rückgabewert

Typ: System.DateTime
Ein DateTime-Wert.

Siehe auch

Verweis

Konvertierungsklasse

Konvertierungs-Member

Microsoft.Isam.Esent.Interop-Namespace