Share via


AddressBook.IsSameRecipient method

When overridden in a derived class, the IsSameRecipient method indicates whether the specified addresses refer to the same recipient.

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

Syntax

'Declaration
Public MustOverride Function IsSameRecipient ( _
    proxyAddressA As RoutingAddress, _
    proxyAddressB As RoutingAddress _
) As Boolean
'Usage
Dim instance As AddressBook
Dim proxyAddressA As RoutingAddress
Dim proxyAddressB As RoutingAddress
Dim returnValue As Boolean

returnValue = instance.IsSameRecipient(proxyAddressA, _
    proxyAddressB)
public abstract bool IsSameRecipient(
    RoutingAddress proxyAddressA,
    RoutingAddress proxyAddressB
)

Parameters

Return value

Type: System.Boolean
The IsSameRecipient method returns true if the specified addresses refer to the same recipient; otherwise, the method returns false.

See also

Reference

AddressBook class

AddressBook members

Microsoft.Exchange.Data.Transport namespace