Equals Method (Object)
Collapse the table of content
Expand the table of content

SqlDateTime.Equals Method (Object)


Compares the supplied object parameter to the Value property of the SqlDateTime object.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public override bool Equals(
	object value


Type: System.Object

The object to be compared.

Return Value

Type: System.Boolean

true if the object is an instance of SqlDateTime and the two are equal; otherwise false.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft