System.Security.Permissions.PrincipalPermission.Equals Method

Determines whether the specified System.Security.Permissions.PrincipalPermission object is equal to the current System.Security.Permissions.PrincipalPermission.

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public override bool Equals (object obj)

Parameters

obj
The System.Security.Permissions.PrincipalPermission object to compare with the current System.Security.Permissions.PrincipalPermission.

Returns

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

Remarks

For more information, see object.Equals(object).

Requirements

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0