Bagikan melalui


UdpReceiveResult.Equality(UdpReceiveResult, UdpReceiveResult) Operator

Definisi

Menguji apakah dua instans yang ditentukan UdpReceiveResult setara.

public:
 static bool operator ==(System::Net::Sockets::UdpReceiveResult left, System::Net::Sockets::UdpReceiveResult right);
public static bool operator == (System.Net.Sockets.UdpReceiveResult left, System.Net.Sockets.UdpReceiveResult right);
static member ( = ) : System.Net.Sockets.UdpReceiveResult * System.Net.Sockets.UdpReceiveResult -> bool
Public Shared Operator == (left As UdpReceiveResult, right As UdpReceiveResult) As Boolean

Parameter

left
UdpReceiveResult

UdpReceiveResult Instans yang berada di sebelah kiri operator kesetaraan.

right
UdpReceiveResult

UdpReceiveResult Instans yang berada di sebelah kanan operator kesetaraan.

Mengembalikan

true jika left dan right sama; jika tidak, false.

Berlaku untuk