Edit

Share via


AttachmentCollection.Remove(Attachment) Method

Definition

Removes the specified attachment from the collection.

public:
 bool Remove(Microsoft::Exchange::WebServices::Data::Attachment ^ attachment);
public bool Remove (Microsoft.Exchange.WebServices.Data.Attachment attachment);

Parameters

attachment
Attachment

The attachment to be removed from the collection.

Returns

true if the specified attachment was successfully removed from the collection; otherwise, false.

Applies to