Partager via


ReadOnlyEnvelopeRecipientCollection.Contains method

The Contains(RoutingAddress) method determines if the specified address is in the collection.

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

Syntax

'Declaration
Public MustOverride Function Contains ( _
    address As RoutingAddress _
) As Boolean
'Usage
Dim instance As ReadOnlyEnvelopeRecipientCollection
Dim address As RoutingAddress
Dim returnValue As Boolean

returnValue = instance.Contains(address)
public abstract bool Contains(
    RoutingAddress address
)

Parameters

Return value

Type: System.Boolean
The Contains(RoutingAddress) method returns true if the specified routing address is present in the collection; otherwise, the method returns false.

See also

Reference

ReadOnlyEnvelopeRecipientCollection class

ReadOnlyEnvelopeRecipientCollection members

Microsoft.Exchange.Data.Transport namespace