Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

Equals

Declaring type: Uri
Module: System
Assembly: System.Runtime.dll
Source file: Uri.rvn

Overloads / Variants

Equals

func Equals(other: Uri) -> bool

Source file: Uri.rvn

Implements EquatableTo<Uri>.Equals

Compares exact Text, including case, escaping and fragment.

Parameters

Name Type Description
other Uri The non-null Uri to compare.

Return value

Boolean

Whether both texts are equal.

Equals

virtual override func Equals(other: object?) -> bool

Source file: Uri.rvn

Overrides Object.Equals

Compares exact Text when the object is a Uri; returns false for null or another type.

Parameters

Name Type Description
other Object? The object to compare.

Return value

Boolean

Whether it is an equal Uri.