SiteMembershipCondition.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the site from the specified SiteMembershipCondition object is equivalent to the site contained in the current SiteMembershipCondition.

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

Public Overrides Function Equals (
	o As Object
) As Boolean

Parameters

o
Type: System.Object

The SiteMembershipCondition object to compare to the current SiteMembershipCondition.

Return Value

Type: System.Boolean

true if the site from the specified SiteMembershipCondition object is equivalent to the site contained in the current SiteMembershipCondition; otherwise, false.

Exception Condition
ArgumentException

The Site property for the current object or the specified object is null.

.NET Framework
Available since 1.1
Return to top
Show: