AttachmentCollection.Remove(Attachment) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.