Edit

Share via


HttpMethod.Equals Method

Definition

Determines whether the specified Object is equal to the current Object.

Overloads

Equals(HttpMethod)

Determines whether the specified HttpMethod is equal to the current Object.

Equals(Object)

Determines whether the specified Object is equal to the current Object.

Equals(HttpMethod)

Source:
HttpMethod.cs
Source:
HttpMethod.cs
Source:
HttpMethod.cs

Determines whether the specified HttpMethod is equal to the current Object.

public:
 virtual bool Equals(System::Net::Http::HttpMethod ^ other);
public bool Equals (System.Net.Http.HttpMethod other);
public bool Equals (System.Net.Http.HttpMethod? other);
override this.Equals : System.Net.Http.HttpMethod -> bool
Public Function Equals (other As HttpMethod) As Boolean

Parameters

other
HttpMethod

The HTTP method to compare with the current object.

Returns

true if the specified object is equal to the current object; otherwise, false.

Implements

Applies to

Equals(Object)

Source:
HttpMethod.cs
Source:
HttpMethod.cs
Source:
HttpMethod.cs

Determines whether the specified Object is equal to the current Object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare with the current object.

Returns

true if the specified object is equal to the current object; otherwise, false.

Applies to