Edit

Share via


UdpReceiveResult.Equality(UdpReceiveResult, UdpReceiveResult) Operator

Definition

Tests whether two specified UdpReceiveResult instances are equivalent.

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

Parameters

left
UdpReceiveResult

The UdpReceiveResult instance that is to the left of the equality operator.

right
UdpReceiveResult

The UdpReceiveResult instance that is to the right of the equality operator.

Returns

true if left and right are equal; otherwise, false.

Applies to