次の方法で共有


AddressBook.Find method (RoutingAddress)

When overridden in a derived class, the Find method finds an address in the address book based on the address specified in the smtpAddress parameter.

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

Syntax

'Declaration
Public MustOverride Function Find ( _
    smtpAddress As RoutingAddress _
) As AddressBookEntry
'Usage
Dim instance As AddressBook
Dim smtpAddress As RoutingAddress
Dim returnValue As AddressBookEntry

returnValue = instance.Find(smtpAddress)
public abstract AddressBookEntry Find(
    RoutingAddress smtpAddress
)

Parameters

Return value

Type: Microsoft.Exchange.Data.Transport.AddressBookEntry
When overridden in a derived class, the Find method returns an instance of the AddressBookEntry object that represents the address found.

Remarks

If the address specified by the smtpAddress parameter is not in the address book, the Find method will return a a null reference (Nothing in Visual Basic) object.

See also

Reference

AddressBook class

AddressBook members

Find overload

Microsoft.Exchange.Data.Transport namespace