PropertyValueExtensionMethodsIsEqual Method

Checks if the property values are equal. If either of the property values is null, the values are treated as they were different.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static bool IsEqual(
	this PropertyValue left,
	PropertyValue right,
	EqualityCompareOptions options = EqualityCompareOptions.Default
)

Parameters

left  PropertyValue
The first property value.
right  PropertyValue
The second property value.
options  EqualityCompareOptions  (Optional)
The equality comparison options.

Return Value

Boolean
Boolean indicating whether the property values were the same.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PropertyValue. 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