Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UriBuilder.Equals Method

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

Namespace:  System
Assemblies:   System.Runtime.Extensions (in System.Runtime.Extensions.dll)
  System (in System.dll)

public override bool Equals(
	Object rparam
)

Parameters

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft