Zone::Equals Method (Object^)

 

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

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual bool Equals(
	Object^ o
) override

Parameters

o
Type: System::Object^

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

Return Value

Type: System::Boolean

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

Exception Condition
ArgumentException

The o parameter is not a Zone object.

Zone objects are equal if they designate the same SecurityZone.

.NET Framework
Available since 1.1
Return to top
Show: