PowerTools PlusPak for Windows Forms 8.0J
ToDateTime メソッド

変換の対象となるDateTimeExの値
DateTimeEx型の値をDateTime型に変換します。
構文
Public Shared Function ToDateTime( _
   ByVal date As DateTimeEx _
) As Date
public static DateTime ToDateTime( 
   DateTimeEx date
)

パラメータ

date
変換の対象となるDateTimeExの値

戻り値の型

指定したDateTimeExと等価なDateTime
解説
この関数が追加された理由は、VB.NET などの一部の言語で演算子のオーバーロードがサポートされていないためです。
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

DateTimeEx クラス
DateTimeEx メンバ

Send Feedback