MailMerge Methods |
The MailMerge type exposes the following members.
Name | Description | |
---|---|---|
AddAttachmentPattern |
Adds the attachment pattern to the collection of attachment patterns.
| |
ClearAttachmentPatterns |
Clears the collection of the attachments patterns.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Replace(String, String) |
Replaces all occurrences of the specified pattern in the message template with the specified actual value.
| |
Replace(String, String, MailMergeTargets) |
Replaces all occurrences of the specified case-sensitive pattern in the specified parts of the message with the actual value.
| |
ReplaceAsync(String, String) |
async/await version of Replace(String, String).
| |
ReplaceAsync(String, String, MailMergeTargets) |
async/await version of Replace(String, String, MailMergeTargets).
| |
Reset |
Resets the merged message.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |