MapiAttachmentCollection
MapiAttachmentCollection class
表示 MapiAttachment 对象的集合。
public class MapiAttachmentCollection : List<MapiAttachment>
构造函数
方法
| 姓名 | 描述 |
|---|
| Add(MapiAttachment) | 在末尾添加一个对象Collection. |
| Add(string, byte[]) | 添加新附件。 |
| Add(string, MapiMessage) | 将新附件添加为嵌入消息。 |
| Insert(int, MapiAttachment) | 插入一个元素到Collection在指定的索引处。 |
| Insert(int, string, MapiMessage) | 将邮件作为附件插入到MapiAttachmentCollection在指定的索引处。 |
| Remove(MapiAttachment) | 从 MapiAttachmentCollection 中删除特定对象的第一个匹配项。 |
| RemoveAt(int) | 移除 MapiAttachmentCollection 指定索引处的元素。 |
| Replace(int, string, MapiMessage) | 替换指定索引处的元素。 |
也可以看看