PermissionSet.Equals(Object) PermissionSet.Equals(Object) PermissionSet.Equals(Object) Method

Definition

Determines whether the specified PermissionSet or NamedPermissionSet object is equal to the current PermissionSet.

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

The object to compare with the current PermissionSet.

Returns

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

Remarks

Equality is determined by the permissions contained in the permission set specified by obj. obj can be either a PermissionSet object or a NamedPermissionSet object. If obj is a NamedPermissionSet, the name and description are ignored.

For more information, see Object.Equals(Object).

Applies to