IPPacketInformation.Inequality Operator
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überprüft, ob zwei angegebene IPPacketInformation Instanzen 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, die links vom Ungleichheitsoperator liegt.
- packetInformation2
- IPPacketInformation
Die IPPacketInformation Instanz, die rechts vom Ungleichheitsoperator liegt.
Gibt zurück
truewenn packetInformation1 und packetInformation2 ungleich sind, andernfalls . false
Hinweise
Dieser Operator testet sowohl die Argumente als Address auch die Interface Werte.
Die entsprechende Methode für diesen Operator lautet Equals(Object).