Export (0) Print
Expand All

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.

Show:
© 2014 Microsoft