NamedPermissionSet.Equals Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

public override bool Equals(
	object obj


Type: System.Object

The NamedPermissionSet object to compare with the current NamedPermissionSet.

Return Value

Type: System.Boolean

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

For more information, see Equals.

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.

.NET Framework
Available since 2.0
Return to top