Remove

Remove

Removes the first occurrence of a specific object from the MapiAttachmentCollection .

Returns: true if item is successfully removed; otherwise, false.

Remove(const System::SharedPtr < MapiAttachment > & item)
ParameterDescription
itemThe object to remove from the MapiAttachmentCollection .