EnvelopeRecipientCollection.Remove method (EnvelopeRecipient, DsnType, SmtpResponse)
When overridden in a derived class, the Remove method removes a recipient from the collection based on the specified EnvelopeRecipient.
Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Function Remove ( _
recipient As EnvelopeRecipient, _
dsnType As DsnType, _
smtpResponse As SmtpResponse _
) As Boolean
'Usage
Dim instance As EnvelopeRecipientCollection
Dim recipient As EnvelopeRecipient
Dim dsnType As DsnType
Dim smtpResponse As SmtpResponse
Dim returnValue As Boolean
returnValue = instance.Remove(recipient, _
dsnType, smtpResponse)
public abstract bool Remove(
EnvelopeRecipient recipient,
DsnType dsnType,
SmtpResponse smtpResponse
)
Parameters
recipient
Type: Microsoft.Exchange.Data.Transport.EnvelopeRecipientThe recipient to remove.
dsnType
Type: Microsoft.Exchange.Data.Transport.DsnTypeOne of the DsnType values.
smtpResponse
Type: Microsoft.Exchange.Data.Transport.Smtp.SmtpResponseOne of the SmtpResponse values.
Return value
Type: System.Boolean
The Remove method returns true if the recipient existed in the collection and the recipient was successfully removed; otherwise, the method returns false.
See also
Reference
EnvelopeRecipientCollection class