AnyUri.Inequality OperatorAnyUri.Inequality OperatorAnyUri::Inequality Operator

Indicates whether two AnyUriAnyUriAnyUri instances are equal.

Syntax

Public Shared Operator <>( _
    left As AnyUri, _
    right As AnyUri _
) As Boolean
public static bool operator !=(
    AnyUri left,
    AnyUri right
)
public:
static bool operator !=(
    AnyUri^ left, 
    AnyUri^ right
)
 

Parameters

left

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

The first AnyUriAnyUriAnyUri instance to compare.

right

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

The second AnyUriAnyUriAnyUri instance to compare.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if left and right are equal; otherwise falseFalsefalse.

Remarks

Two AnyUriAnyUriAnyUri values are considered equal if their unparsed string values are identical. In order to improve the comparison, you may consider comparing the stringStringString values returned by the NormalizeNormalizeNormalize method.