PermissionSet.Equals(Object) Method
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 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
- oobj
- Object
The object to compare with the current PermissionSet.
true
if the specified object is equal to the current PermissionSet object; otherwise, false
.
- Attributes
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).
Product | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: