Conversions.ConvertDoubleToDateTime 方法

將雙 (OA 日期時間格式) 轉換成 DateTime。 不同于 DateTime.FromOADate,這不會擲回例外狀況。

Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

語法

'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
)

參數

傳回值

類型: System.DateTime
DateTime。

另請參閱

參考

轉換類別

轉換成員

Microsoft.Isam.Esent.Interop 命名空間