Equality Operator

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether two Uri instances have the same value.

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

public static bool operator ==(
	Uri lhs,
	Uri rhs
)

Parameters

lhs
Type: System..::..Uri
A Uri instance to compare with uri2.
rhs
Type: System..::..Uri
A Uri instance to compare with uri1.

Return Value

Type: System..::..Boolean
A Boolean value that is true if the Uri instances are equivalent; otherwise, false.

Show: