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

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