MapiAttachmentCollection.Replace method

Replaces an element at the specified index.

public void Replace(int index, string name, MapiMessage msg)
Parameter Type Description
index Int32 The zero-based index at which should be replaced.
name String The name of attachment.
msg MapiMessage The MapiMessage that represents the attached message.


exception condition
ArgumentNullException throws if message is null.

See Also