Determines whether the specified System.Security.PermissionSet or System.Security.NamedPermissionSet object is equal to the current System.Security.PermissionSet.
- obj
- The object to compare with the current System.Security.PermissionSet.
true if the specified object is equal to the current System.Security.PermissionSet object; otherwise, false.
Equality is determined by the permissions contained in the permission set specified by obj. obj can be either a System.Security.PermissionSet object or a System.Security.NamedPermissionSet object. If obj is a System.Security.NamedPermissionSet, the name and description are ignored.
For more information, see object.Equals(object).