Assert.Equals Method

Determines whether two objects are equal.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public static bool Equals(
	Object objA,
	Object objB
)

Parameters

objA
Type: System.Object

An object that can be cast to an Assert instance.

objB
Type: System.Object

An object that can be cast to an Assert instance.

Return Value

Type: System.Boolean

To compare two instances of an object, use the AreEqual method.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft