MailMerge Methods

The MailMerge type exposes the following members.

Public methodCode exampleAddAttachmentPattern
Adds the attachment pattern to the collection of attachment patterns.
Public methodClearAttachmentPatterns
Clears the collection of the attachments patterns.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleReplace(String, String)
Replaces all occurrences of the specified pattern in the message template with the specified actual value.
Public methodCode exampleReplace(String, String, MailMergeTargets)
Replaces all occurrences of the specified case-sensitive pattern in the specified parts of the message with the actual value.
Public methodReplaceAsync(String, String)
async/await version of Replace(String, String).
Public methodReplaceAsync(String, String, MailMergeTargets)
Public methodCode exampleReset
Resets the merged message.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also