Equals Method (Object)
Collapse the table of content
Expand the table of content

PermissionSet.Equals Method (Object)

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

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

[ComVisibleAttribute(false)] 
public override bool Equals (
	Object obj
)
/** @attribute ComVisibleAttribute(false) */ 
public boolean Equals (
	Object obj
)
ComVisibleAttribute(false) 
public override function Equals (
	obj : Object
) : boolean
Not applicable.

Parameters

obj

The object to compare with the current PermissionSet.

Return Value

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

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2016 Microsoft