PrincipalPermission.Equals Method (Object)


Determines whether the specified PrincipalPermission object is equal to the current PrincipalPermission.

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

public override bool Equals(
	object obj


Type: System.Object

The PrincipalPermission object to compare with the current PrincipalPermission.

Return Value

Type: System.Boolean

true if the specified PrincipalPermission is equal to the current PrincipalPermission object; otherwise, false.

For more information, see Equals.

.NET Framework
Available since 2.0
Return to top