UrlAttribute::Equals Method (Object^)

 

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

Namespace:   System.Runtime.Remoting.Activation
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual bool Equals(
	Object^ o
) override

Parameters

o
Type: System::Object^

The object to compare to the current UrlAttribute.

Return Value

Type: System::Boolean

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

Exception Condition
SecurityException

The immediate caller does not have infrastructure permission.

This method overrides the default Object::Equals method.

SecurityPermission

For operating with infrastructure code. Associated enumeration: SecurityPermissionFlag::Infrastructure

.NET Framework
Available since 1.1
Return to top
Show: