MapiAttachmentCollection.Replace

MapiAttachmentCollection.Replace method

Replaces an element at the specified index.

public void Replace(int index, string name, MapiMessage msg)
ParameterTypeDescription
indexInt32The zero-based index at which should be replaced.
nameStringThe name of attachment.
msgMapiMessageThe MapiMessage that represents the attached message.

Exceptions

exceptioncondition
ArgumentNullExceptionthrows if message is null.

See Also