Determines wether this instance and the specified object are of the same type and have the same values.

Namespace:  NHibernate.SqlCommand
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean
C#
public override bool Equals(
	Object obj
)
Visual C++
public:
virtual bool Equals(
	Object^ obj
) override
JavaScript
function equals(obj);

Parameters

obj
Type: System..::.Object
An object to compare to this instance.

Return Value

trueTruetruetrue (True in Visual Basic) if the object equals the current instance.

See Also