UriBuilder.Equals(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.