AnyUri.Equals Method (AnyUri)AnyUri.Equals Method (AnyUri)AnyUri::Equals Method (AnyUri^)

Indicates whether this instance is equal to another AnyUriAnyUriAnyUri.

Syntax

Public Function Equals( _
    other As AnyUri _
) As Boolean
public bool Equals(
    AnyUri other
)
public:
virtual bool Equals(
    AnyUri^ other
) sealed
 

Parameters

other

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

An AnyUriAnyUriAnyUri to compare with this object.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if other equals the value of this instance; 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.