Partager via


ADObjectId.Equals method (ADObjectId, ADObjectId)

Determines whether the specified ADObjectId instances are considered equal.

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

Syntax

'Declaration
Public Shared Function Equals ( _
    x As ADObjectId, _
    y As ADObjectId _
) As Boolean
'Usage
Dim x As ADObjectId
Dim y As ADObjectId
Dim returnValue As Boolean

returnValue = ADObjectId.Equals(x, y)
public static bool Equals(
    ADObjectId x,
    ADObjectId y
)

Parameters

Return value

Type: System.Boolean
true if the x parameter is the same instance as the y parameter, or if both are a null reference (Nothing in Visual Basic) references, or if x.Equals(y) returns true; otherwise, false.

See also

Reference

ADObjectId class

ADObjectId members

Equals overload

Microsoft.Exchange.Data.Directory namespace