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
proxyAddressA
Type: Microsoft.Exchange.Data.Transport.RoutingAddressThe first recipient address to compare.
proxyAddressB
Type: Microsoft.Exchange.Data.Transport.RoutingAddressThe second recipient address to compare.
Return value
Type: System.Boolean
The IsSameRecipient method returns true if the specified addresses refer to the same recipient; otherwise, the method returns false.