HttpMethod.Equality Operator

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

Syntax

'Declaration
Public Shared Operator = ( _
    left As HttpMethod, _
    right As HttpMethod _
) As Boolean
'Usage
Dim left As HttpMethod 
Dim right As HttpMethod 
Dim returnValue As Boolean 

returnValue = (left = right)
public static bool operator ==(
    HttpMethod left,
    HttpMethod right
)
public:
static bool operator ==(
    HttpMethod^ left, 
    HttpMethod^ right
)
static let inline(=)
        left:HttpMethod * 
        right:HttpMethod  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

HttpMethod Class

System.Net.Http Namespace