Share via


DynamicData.Inequality(DynamicData, Object) Operator

Definition

Determines whether the specified DynamicData and Object have different values.

public static bool operator != (Azure.Core.Serialization.DynamicData? left, object? right);
static member op_Inequality : Azure.Core.Serialization.DynamicData * obj -> bool
Public Shared Operator != (left As DynamicData, right As Object) As Boolean

Parameters

left
DynamicData

The DynamicData to compare.

right
Object

The Object to compare.

Returns

true if the value of left is different from the value of right; otherwise, false.

Remarks

This operator calls through to Azure.Core.Serialization.DynamicData.Equals(System.Object) when DynamicData is on the left-hand side of the operation. Azure.Core.Serialization.DynamicData.Equals(System.Object) has value semantics when the DynamicData represents a JSON primitive, i.e. string, bool, number, or null, and reference semantics otherwise, i.e. for objects and arrays.

Applies to