IPPacketInformation.Equality(IPPacketInformation, IPPacketInformation) Operador

Definición

Comprueba si dos instancias de IPPacketInformation especificadas son equivalentes.Tests whether two specified IPPacketInformation instances are equivalent.

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

Parámetros

packetInformation1
IPPacketInformation

Instancia de IPPacketInformation situada a la izquierda del operador de igualdad.The IPPacketInformation instance that is to the left of the equality operator.

packetInformation2
IPPacketInformation

Instancia de IPPacketInformation situada a la derecha del operador de igualdad.The IPPacketInformation instance that is to the right of the equality operator.

Devoluciones

true si packetInformation1 y packetInformation2 son iguales; en caso contrario, false.true if packetInformation1 and packetInformation2 are equal; otherwise, false.

Comentarios

Este operador comprueba los Address valores y Interface de ambos argumentos.This operator tests both the Address and Interface values for both arguments.

El método equivalente para este operador es Equals(Object).The equivalent method for this operator is Equals(Object).

Se aplica a