NullableTypes Class Library

NullableDateTime.Equals Method (NullableDateTime, NullableDateTime)

Compare two NullableDateTime instances for equality.

[Visual Basic]
Overloads Public Shared Function Equals( _
   ByVal x As NullableDateTime, _
   ByVal y As NullableDateTime _
) As NullableBoolean
public static NullableBoolean Equals(
   NullableDateTime x,
   NullableDateTime y


Instance to compare from.
Instance to compare to.

Return Value

True if the two instances are equal, null value if one or both of the instances are NullableDatetime.Null, false if the two instances are not null, but are not equal.

See Also

NullableDateTime Class | NullableTypes Namespace | NullableDateTime.Equals Overload List