AttachmentCollection.Remove(Attachment) 方法

定义

从集合中删除指定的附件。

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

参数

attachment
Attachment

要从集合中删除的附件。

返回

如果从集合中成功删除指定的附件,则为 true;否则为 false

适用于