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

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 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