Inequality Operator (RuntimeTypeHandle, Object)
Collapse the table of content
Expand the table of content

RuntimeTypeHandle.Inequality Operator (RuntimeTypeHandle, Object)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static bool operator !=(
	RuntimeTypeHandle left,
	Object right


Type: System.RuntimeTypeHandle
A RuntimeTypeHandle structure to compare to right.
Type: System.Object
An object to compare to left.

Return Value

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

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft