IPPacketInformation.Equality(IPPacketInformation, IPPacketInformation) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- packetInformation1
- IPPacketInformation
The IPPacketInformation instance that is to the left of the equality operator.
- packetInformation2
- IPPacketInformation
The IPPacketInformation instance that is to the right of the equality operator.
Returns
true
if packetInformation1
and packetInformation2
are equal; otherwise, false
.
Remarks
This operator tests both the Address and Interface values for both arguments.
The equivalent method for this operator is Equals(Object).
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για