Inequality 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 do not 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 two Uri instances are not equal; otherwise, false. If either parameter is nullNothingnullptrunita null reference (Nothing in Visual Basic), this method returns true.

Show: