EntityTagHeaderValue.Equals(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check against another EntityTagHeaderValue for equality. This equality check should not be used to determine if two values match under the RFC specifications (https://tools.ietf.org/html/rfc7232#section-2.3.2).
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 other value to check against for equality.
Returns
true
if the strength and tag of the two values match,
false
if the other value is null, is not an EntityTagHeaderValue, or if there is a mismatch of strength or tag between the two values.