UdpReceiveResult::Equality Operator (UdpReceiveResult, UdpReceiveResult)

.NET Framework (current version)
 

Tests whether two specified UdpReceiveResult instances are equivalent.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public:
static bool operator ==(
	UdpReceiveResult left,
	UdpReceiveResult right
)

Parameters

left
Type: System.Net.Sockets::UdpReceiveResult

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

right
Type: System.Net.Sockets::UdpReceiveResult

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

Return Value

Type: System::Boolean

Returns Boolean.

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

.NET Framework
Available since 4.5
Return to top
Show: