Skip to main content

AutoCorrectReplaceInfoCollection.Add(String, String, Boolean) Method

Creates a new AutoCorrectReplaceInfo object and adds it to the collection.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public void Add(
    string what,
    string with,
    bool immediateReplacement
)

Parameters

Name Type Description
what String

A string that has to be replaced.

with String

An object that replaces a specified string.

immediateReplacement Boolean

Specifies whether the replacement should be performed immediately after a what string is entered. Otherwise a delimiter character (separator symbol) is required to start the replacement.

See Also