Bewerken

Delen via


UrlAttribute.Equals(Object) Method

Definition

Checks whether the specified object refers to the same URL as the current instance.

public:
 override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean

Parameters

o
Object

The object to compare to the current UrlAttribute.

Returns

true if the object is a UrlAttribute with the same value; otherwise, false.

Exceptions

The immediate caller does not have infrastructure permission.

Remarks

This method overrides the default Object.Equals method.

Applies to