IPPacketInformation.Equality(IPPacketInformation, IPPacketInformation) Operator

Definitie

Test of twee opgegeven IPPacketInformation exemplaren gelijkwaardig zijn.

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

Parameters

packetInformation1
IPPacketInformation

Het IPPacketInformation exemplaar links van de gelijkheidsoperator.

packetInformation2
IPPacketInformation

Het IPPacketInformation exemplaar dat zich rechts van de gelijkheidsoperator bevindt.

Retouren

trueindien packetInformation1 en packetInformation2 gelijk zijn; anders. false

Opmerkingen

Deze operator test zowel de als Address de Interface waarden voor beide argumenten.

De equivalente methode voor deze operator is Equals(Object).

Van toepassing op