Export (0) Print
Expand All

PrincipalPermission.Equals Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft