다음을 통해 공유


AddressBook.Contains Method

When overridden in a derived class, the Contains method indicates whether the address book contains the specified address.

Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public MustOverride Function Contains ( _
    smtpAddress As RoutingAddress _
) As Boolean
public abstract bool Contains (
    RoutingAddress smtpAddress
)
public:
virtual bool Contains (
    RoutingAddress smtpAddress
) abstract
public abstract boolean Contains (
    RoutingAddress smtpAddress
)
public abstract function Contains (
    smtpAddress : RoutingAddress
) : boolean

Parameters

  • smtpAddress
    The proxy or primary address for which the Contains method will look.

Return Value

The Contains method returns true if the address book contains the address specified by the smtpAddress parameter; otherwise, the method returns false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003