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.ADObjectIdThe first ADObjectId instance to compare.
y
Type: Microsoft.Exchange.Data.Directory.ADObjectIdThe second ADObjectId instance to compare.
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.