HostString.Equals 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.
Overloads
Equals(HostString) |
Compares the equality of the Value property, ignoring case. |
Equals(Object) |
Compares against the given object only if it is a HostString. |
Equals(HostString)
- Source:
- HostString.cs
- Source:
- HostString.cs
- Source:
- HostString.cs
Compares the equality of the Value property, ignoring case.
public:
virtual bool Equals(Microsoft::AspNetCore::Http::HostString other);
public bool Equals (Microsoft.AspNetCore.Http.HostString other);
override this.Equals : Microsoft.AspNetCore.Http.HostString -> bool
Public Function Equals (other As HostString) As Boolean
Parameters
- other
- HostString
The HostString to compare against.
Returns
true
if they have the same value.
Implements
Applies to
Equals(Object)
- Source:
- HostString.cs
- Source:
- HostString.cs
- Source:
- HostString.cs
Compares against the given object only if it is a HostString.
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
Returns
true
if they have the same value.