Export (0) Print
Expand All

MulticastDelegate.op_Inequality Method (MulticastDelegate, MulticastDelegate)

Determines whether two MulticastDelegate objects are not equal.

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

public static bool operator != (
	MulticastDelegate d1,
	MulticastDelegate d2
)
J# does not support overloaded operators.
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

d1

The left operand.

d2

The right operand.

Return Value

true if d1 and d2 do not have the same invocation lists; otherwise false.

Exception typeCondition

MemberAccessException

Cannot create an instance of an abstract class or this member was invoked with a late-binding mechanism.

Two delegates are equal if they are not a null reference (Nothing in Visual Basic) and are of exactly the same type, their invocation lists contain the same number of elements, and every element in the invocation list of the first delegate is equal to the corresponding element in the invocation list of the second delegate.

Two invocation list elements are equal if they invoke the same instance method on the same target instance, or they invoke the same static method.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft