Click or drag to resize

EAPUtilEqualValue Method

Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static bool EqualValue(
	this Object o,
	Object oCompare
)

Parameters

o
Type: SystemObject
The object performing the test.
oCompare
Type: SystemObject
The object being tested.

Return Value

Type: Boolean
True if the values of the objects are equal, or are both null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also