ערוך

שתף באמצעות


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

Parameters

oobj
Object

The object to compare with the current PermissionSet.

Returns

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

Attributes

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