MailMergeReplaceAsync Method (String, String, MailMergeTargets) |
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<int> ReplaceAsync(
string pattern,
string actualValue,
MailMergeTargets targets
)
Public Function ReplaceAsync (
pattern As String,
actualValue As String,
targets As MailMergeTargets
) As Task(Of Integer)
Parameters
- pattern
- Type: SystemString
The pattern to be searched. - actualValue
- Type: SystemString
The actual value to replace the found pattern with. - targets
- Type: MailBee.MimeMailMergeTargets
The elements of the message where the pattern text should be searched and replaced with the actual value.
Return Value
Type:
TaskInt32A task that represents the asynchronous operation.
The value of
TResult parameter is the number of replacements actually made.
See Also