CodeAccessPermission.Equals(Object) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 -> boolPublic Overrides Function Equals (obj As Object) As BooleanParameters
- 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.