Equals Method
Collapse the table of content
Expand the table of content

UriBuilder.Equals Method (Object)


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

Namespace:   System
Assembly:  System (in System.dll)

public override bool Equals(
	object rparam


Type: System.Object

The object to compare with the current instance.

Return Value

Type: System.Boolean

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

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.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
© 2016 Microsoft