NamedPermissionSet.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

[ComVisibleAttribute(false)]
public override bool Equals(
	object obj
)

Parameters

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
Show: