Compares if two DesktopModulePermissionInfo objects are equivalent/equal
Namespace: DotNetNuke.Security.PermissionsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public bool Equals( DesktopModulePermissionInfo other ) |
Visual Basic |
---|
Public Function Equals ( other As DesktopModulePermissionInfo ) As Boolean |
Parameters
- other
- Type: DotNetNuke.Security.Permissions..::..DesktopModulePermissionInfo
a DesktopModulePermissionObject
Return Value
true if the permissions being passed represents the same permission in the current object
Remarks
This function is needed to prevent adding duplicates to the DesktopModulePermissionCollection.
DesktopModulePermissionCollection.Contains will use this method to check if a given permission
is already included in the collection.