IPPacketInformation.Inequality Betreiber

Definition

Überprüft, ob zwei angegebene IPPacketInformation-Instanzen tatsächlich nicht gleich sind.

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

Parameter

packetInformation1
IPPacketInformation

Die IPPacketInformation-Instanz auf der linken Seite des Ungleichheitsoperators.

packetInformation2
IPPacketInformation

Die IPPacketInformation-Instanz auf der rechten Seite des Ungleichheitsoperators.

Gibt zurück

Boolean

true, wenn packetInformation1 und packetInformation2 ungleich sind, andernfalls false.

Hinweise

Dieser Operator prüft sowohl die Werte als Interface auch die Address Werte für beide Argumente.

Die entsprechende Methode für diesen Operator ist Equals(Object).

Gilt für