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.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static bool IsEqual(
this PropertyValue left,
PropertyValue right,
EqualityCompareOptions options = EqualityCompareOptions.Default
)
<ExtensionAttribute>
Public Shared Function IsEqual (
left As PropertyValue,
right As PropertyValue,
Optional options As EqualityCompareOptions = EqualityCompareOptions.Default
) As Boolean
public:
[ExtensionAttribute]
static bool IsEqual(
PropertyValue^ left,
PropertyValue^ right,
EqualityCompareOptions options = EqualityCompareOptions::Default
)
Parameters
- left
- Type: PropertyValue
The first property value. - right
- Type: PropertyValue
The second property value. - options (Optional)
- Type: MFiles.VAF.CommonEqualityCompareOptions
The equality comparison options.
Return Value
Type:
BooleanBoolean 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