PrincipalPermission.Equals(Object) Method

Definition

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

public:
 override bool Equals(System::Object ^ o);
public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object o);
[System.Runtime.InteropServices.ComVisible(false)]
public override bool Equals (object obj);
override this.Equals : obj -> bool
[<System.Runtime.InteropServices.ComVisible(false)>]
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

oobj
Object

The PrincipalPermission object to compare with the current PrincipalPermission.

Returns

Boolean

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

Attributes

Remarks

For more information, see Equals.

Applies to