IPPacketInformation.Equality(IPPacketInformation, IPPacketInformation) Betreiber

Definition

Überprüft, ob zwei angegebene IPPacketInformation-Instanzen äquivalent 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 auf der linken Seite des Gleichheitsoperators.

packetInformation2
IPPacketInformation

Die IPPacketInformation-Instanz auf der rechten Seite des Gleichheitsoperators.

Gibt zurück

Boolean

true, wenn packetInformation1 und packetInformation2 gleich 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