CodeGroup.Equals Method (Object)

 

Determines whether the specified code group is equivalent to the current code group.

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

public override bool Equals(
	object o
)

Parameters

o
Type: System.Object

The code group to compare with the current code group.

Return Value

Type: System.Boolean

true if the specified code group is equivalent to the current code group; otherwise, false.

Two code groups are equivalent if they have the same Name, Description, and MembershipCondition.

This method tests the top-level code group only, not its child code groups.

.NET Framework
Available since 1.1
Return to top
Show: