IPPacketInformation.Inequality(IPPacketInformation, IPPacketInformation) IPPacketInformation.Inequality(IPPacketInformation, IPPacketInformation) IPPacketInformation.Inequality(IPPacketInformation, IPPacketInformation) IPPacketInformation.Inequality(IPPacketInformation, IPPacketInformation) Operator

Definition

Tests whether two specified IPPacketInformation instances are not equal.

public:
 static bool operator !=(System::Net::Sockets::IPPacketInformation packetInformation1, System::Net::Sockets::IPPacketInformation packetInformation2);
public static bool operator != (System.Net.Sockets.IPPacketInformation packetInformation1, System.Net.Sockets.IPPacketInformation packetInformation2);
static member op_Inequality : System.Net.Sockets.IPPacketInformation * System.Net.Sockets.IPPacketInformation -> bool
Public Shared Operator != (packetInformation1 As IPPacketInformation, packetInformation2 As IPPacketInformation) As Boolean

Parameters

packetInformation1
IPPacketInformation IPPacketInformation IPPacketInformation IPPacketInformation

The IPPacketInformation instance that is to the left of the inequality operator.

packetInformation2
IPPacketInformation IPPacketInformation IPPacketInformation IPPacketInformation

The IPPacketInformation instance that is to the right of the inequality operator.

Returns

true if packetInformation1 and packetInformation2 are unequal; otherwise, false.

Remarks

This operator tests both the Address and Interface values for both arguments.

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

Applies to