Uređivanje

Dijeli putem


RuntimeTypeHandle.Inequality Operator

Definition

Indicates whether an object and a RuntimeTypeHandle structure are not equal.

Overloads

Inequality(Object, RuntimeTypeHandle)

Indicates whether an object and a RuntimeTypeHandle structure are not equal.

Inequality(RuntimeTypeHandle, Object)

Indicates whether a RuntimeTypeHandle structure is not equal to an object.

Inequality(Object, RuntimeTypeHandle)

Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs

Indicates whether an object and a RuntimeTypeHandle structure are not equal.

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

Parameters

left
Object

An object to compare to right.

right
RuntimeTypeHandle

A RuntimeTypeHandle structure to compare to left.

Returns

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

Remarks

Using this operator to compare two variables of type RuntimeTypeHandle causes an ambiguous overload resolution error when compiled. Use the Equals method instead.

The equivalent method for this operator is RuntimeTypeHandle.Equals(Object).

Applies to

Inequality(RuntimeTypeHandle, Object)

Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs
Source:
RuntimeHandles.cs

Indicates whether a RuntimeTypeHandle structure is not equal to an object.

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

Parameters

left
RuntimeTypeHandle

A RuntimeTypeHandle structure to compare to right.

right
Object

An object to compare to left.

Returns

true if right is a RuntimeTypeHandle structure and is not equal to left; otherwise, false.

Remarks

Using this operator to compare two variables of type RuntimeTypeHandle causes an ambiguous overload resolution error when compiled. Use the Equals method instead.

The equivalent method for this operator is RuntimeTypeHandle.Equals(Object).

Applies to