PrincipalPermission.Equals(Object) Method

Definition

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

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

Parameters

objo
Object

The PrincipalPermission object to compare with the current PrincipalPermission.

Returns

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

Attributes

Remarks

For more information, see Equals.

Applies to