Partager via


UserRole.Equals Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

Namespace: Microsoft.EnterpriseManagement.Security
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As UserRole
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
public override bool Equals (
    Object obj
)
public:
virtual bool Equals (
    Object^ obj
) override
public boolean Equals (
    Object obj
)
public override function Equals (
    obj : Object
) : boolean

Parameters

  • obj
    The specified object.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

UserRole Class
UserRole Members
Microsoft.EnterpriseManagement.Security Namespace