MailMergeReplaceAsync Method (String, String)
async/await version of Replace(String, String).

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Task<int> ReplaceAsync(
	string pattern,
	string actualValue
)

Parameters

pattern
Type: SystemString
The pattern to be searched.
actualValue
Type: SystemString
The actual value to replace the found pattern with.

Return Value

Type: TaskInt32
A task that represents the asynchronous operation. The value of TResult parameter is the number of replacements actually made.
See Also