Partager via


ADObjectId.Equals method (String)

Determines whether the specified string represents an identifier for the current ADObjectId instance.

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

Syntax

'Declaration
Public Function Equals ( _
    objString As String _
) As Boolean
'Usage
Dim instance As ADObjectId
Dim objString As String
Dim returnValue As Boolean

returnValue = instance.Equals(objString)
public bool Equals(
    string objString
)

Parameters

Return value

Type: System.Boolean
true if the DistinguishedName property or ObjectGuid property of the current ADObjectId instance equals the objString parameter, or if the ToString() method of the current instance equals the objString parameter; otherwise, false.

See also

Reference

ADObjectId class

ADObjectId members

Equals overload

Microsoft.Exchange.Data.Directory namespace