PrincipalPermission.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 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 -> boolPublic Overrides Function Equals (obj As Object) As BooleanPublic Overrides Function Equals (o As Object) As BooleanParameters
- 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.