CodeAccessPermission.Equals(Object) Method

Definition

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

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
[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 (obj As Object) As Boolean

Parameters

obj
Object

The CodeAccessPermission object to compare with the current CodeAccessPermission.

Returns

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

Attributes

Remarks

For more information, see Equals.

Applies to