UrlAttribute.Equals Method

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

Overrides Public Function Equals( _
   ByVal o As Object _) As Boolean
[C#]
public override bool Equals(objecto);
[C++]
public: bool Equals(Object* o);
[JScript]
public override function Equals(
   o : Object) : Boolean;

Parameters

Return Value

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

Exceptions

Exception Type Condition
SecurityException The immediate caller does not have infrastructure permission.

Remarks

This method overrides the default Object.Equals method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security:

See Also

UrlAttribute Class | UrlAttribute Members | System.Runtime.Remoting.Activation Namespace