Type.Inequality(Type, Type) Operator

Definition

Indicates whether two Type objects are not equal.

public:
 static bool operator !=(Type ^ left, Type ^ right);
public static bool operator != (Type? left, Type? right);
public static bool operator != (Type left, Type right);
static member op_Inequality : Type * Type -> bool
Public Shared Operator != (left As Type, right As Type) As Boolean

Parameters

left
Type

The first object to compare.

right
Type

The second object to compare.

Returns

true if left is not equal to right; otherwise, false.

Applies to