Zone.Equals Method

Compares the current Zone evidence object to the specified object for equivalence.

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

  • o
    The Zone evidence object to test for equivalence with the current object.

Return Value

true if the two Zone objects are equal; otherwise, false.

Exceptions

Exception Type Condition
ArgumentException The o parameter is not a Zone object.

Remarks

Zone objects are equal if they designate the same SecurityZone.

Requirements

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

See Also

Zone Class | Zone Members | System.Security.Policy Namespace