Share via


Uri.Equals(Uri) Method

Definition

Determines whether the specified Uri object is equal to the current Uri object.

public:
 virtual bool Equals(Uri ^ pUri) = Equals;
bool Equals(Uri const& pUri);
public bool Equals(System.Uri pUri);
function equals(pUri)
Public Function Equals (pUri As Uri) As Boolean

Parameters

pUri
Uri Uri

The Uri object to be compared.

Returns

Boolean

bool

true if the two Uri values are the same; otherwise, false.

Remarks

Equality comparison is based on the logical content (the property values).

Applies to