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
- x
Type: Microsoft.Exchange.Data.Directory.ADObjectId
The first ADObjectId instance to compare.
- y
Type: Microsoft.Exchange.Data.Directory.ADObjectId
The second ADObjectId instance to compare.
Return Value
Type: System.Boolean
true if x is the same instance as y, or if both are null references, or if x.Equals(y) returns true; otherwise, false.