Partager via


ADObjectId.Equals method (Object)

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

Namespace:  Microsoft.Exchange.Data.Directory
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As ADObjectId
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)

Parameters

Return value

Type: System.Boolean
true if the object is considered equal to this ADObjectId instance; otherwise, false.

Remarks

The Equals(Object) method tests the equality of the DistinguishedName property only.

See also

Reference

ADObjectId class

ADObjectId members

Equals overload

Microsoft.Exchange.Data.Directory namespace