PathString.Equals Method

Definition

Overloads

Equals(PathString)

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.

Equals(Object)

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.

Equals(PathString, StringComparison)

Compares this PathString value to another value using a specific StringComparison type

Equals(PathString)

Source:
PathString.cs
Source:
PathString.cs

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.

public:
 virtual bool Equals(Microsoft::AspNetCore::Http::PathString other);
public bool Equals (Microsoft.AspNetCore.Http.PathString other);
override this.Equals : Microsoft.AspNetCore.Http.PathString -> bool
Public Function Equals (other As PathString) As Boolean

Parameters

other
PathString

The second PathString for comparison.

Returns

True if both PathString values are equal

Implements

Applies to

Equals(Object)

Source:
PathString.cs
Source:
PathString.cs

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.

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 second PathString for comparison.

Returns

True if both PathString values are equal

Applies to

Equals(PathString, StringComparison)

Source:
PathString.cs
Source:
PathString.cs

Compares this PathString value to another value using a specific StringComparison type

public:
 bool Equals(Microsoft::AspNetCore::Http::PathString other, StringComparison comparisonType);
public bool Equals (Microsoft.AspNetCore.Http.PathString other, StringComparison comparisonType);
override this.Equals : Microsoft.AspNetCore.Http.PathString * StringComparison -> bool
Public Function Equals (other As PathString, comparisonType As StringComparison) As Boolean

Parameters

other
PathString

The second PathString for comparison

comparisonType
StringComparison

The StringComparison type to use

Returns

True if both PathString values are equal

Applies to