IPPacketInformation.Inequality(IPPacketInformation, IPPacketInformation) Operador

Definição

Testa se duas instâncias de IPPacketInformation especificadas não são iguais.Tests whether two specified IPPacketInformation instances are not equal.

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

Parâmetros

packetInformation1
IPPacketInformation

A instância de IPPacketInformation que está à esquerda do operador de desigualdade.The IPPacketInformation instance that is to the left of the inequality operator.

packetInformation2
IPPacketInformation

A instância de IPPacketInformation que está à direita do operador de desigualdade.The IPPacketInformation instance that is to the right of the inequality operator.

Retornos

Boolean

true se packetInformation1 e packetInformation2 forem diferentes; caso contrário, false.true if packetInformation1 and packetInformation2 are unequal; otherwise, false.

Comentários

Esse operador testa os Address valores e Interface para ambos os argumentos.This operator tests both the Address and Interface values for both arguments.

O método equivalente para esse operador é Equals(Object) .The equivalent method for this operator is Equals(Object).

Aplica-se a