System.UriBuilder.Equals Method

Compares an existing Uri instance with the contents of the UriBuilder for equality.

Syntax

public override bool Equals (object rparam)

Parameters

rparam
The object to compare with the current instance.

Returns

true if rparam represents the same Uri as the Uri constructed by this UriBuilder instance; otherwise, false.

Remarks

The UriBuilder.Equals(object) method compares a specified Uri instance with the Uri instance built by the UriBuilder instance. If the two are the same, the UriBuilder.Equals(object) method returns true.

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0