Editja

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 ^ o);
public override bool Equals(object? o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean

Parameters

o
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