DateTime.op_Equality メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

戻り値
d1 と d2 が同じ日付と時刻を表す場合は true。それ以外の場合は false。

Dim april19 As New DateTime(2001, 4, 19) Dim otherDate As New DateTime(1991, 6, 5) Dim areEqual As Boolean ' areEqual gets false. areEqual = System.DateTime.op_Equality(april19, otherDate) otherDate = New DateTime(2001, 4, 19) ' areEqual gets true. areEqual = System.DateTime.op_Equality(april19, otherDate)
System.DateTime april19 = new DateTime(2001, 4, 19); System.DateTime otherDate = new DateTime(1991, 6, 5); // areEqual gets false. bool areEqual = april19 == otherDate; otherDate = new DateTime(2001, 4, 19); // areEqual gets true. areEqual = april19 == otherDate;

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDateTime.op_Equality メソッドを検索する場合は、下記のリンクをクリックしてください。

- DateTime.op_Equality メソッドのページへのリンク