IPPacketInformation.Inequality Opérateur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Teste si deux instances spécifiées ne sont pas égales IPPacketInformation .
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
Paramètres
- packetInformation1
- IPPacketInformation
Instance IPPacketInformation à gauche de l’opérateur d’inégalité.
- packetInformation2
- IPPacketInformation
Instance IPPacketInformation à droite de l’opérateur d’inégalité.
Retours
true si packetInformation1 et packetInformation2 sont inégaux ; sinon, false.
Remarques
Cet opérateur teste à la fois les valeurs et Interface les Address valeurs des deux arguments.
La méthode équivalente pour cet opérateur est Equals(Object).