IPPacketInformation.Equality(IPPacketInformation, IPPacketInformation) 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 gleichwertig 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 ( = ) : 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 Gleichheitsoperator liegt.
- packetInformation2
- IPPacketInformation
Die IPPacketInformation Instanz, die rechts vom Gleichheitsoperator liegt.
Gibt zurück
truewenn packetInformation1 und packetInformation2 gleich 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).