Bewerken

Share via


UriBuilder.Equals(Object) Method

Definition

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

public:
 override bool Equals(System::Object ^ rparam);
public override bool Equals (object rparam);
public override bool Equals (object? rparam);
override this.Equals : obj -> bool
Public Overrides Function Equals (rparam As Object) As Boolean

Parameters

rparam
Object

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 Equals method compares a specified Uri instance with the Uri instance built by the UriBuilder instance. If the two are the same, the Equals method returns true.

Applies to