NamedPermissionSet.Equals(Object) Method

Definition

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

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 NamedPermissionSet object to compare with the current NamedPermissionSet.

Returns

Boolean

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

Attributes

Examples

The following code example shows the use of the Equals method to compare two NamedPermissionSet objects. This code example is part of a larger example provided for the NamedPermissionSet class.

Remarks

For more information, see Equals.

Applies to