CompareObjectsCompare Method |
Compare two objects of the same type to each other.
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public bool Compare(
Object object1,
Object object2
)
Public Function Compare (
object1 As Object,
object2 As Object
) As Boolean
public:
bool Compare(
Object^ object1,
Object^ object2
)
Parameters
- object1
- Type: SystemObject
[Missing <param name="object1"/> documentation for "M:DHI.Mike1D.Generic.CompareObjects.Compare(System.Object,System.Object)"]
- object2
- Type: SystemObject
[Missing <param name="object2"/> documentation for "M:DHI.Mike1D.Generic.CompareObjects.Compare(System.Object,System.Object)"]
Return Value
Type:
BooleanTrue if they are equal
Remarks
Check the Differences or DifferencesString Properties for the differences.
Default MaxDifferences is 1 for performance
See Also