Skip to main content

ASPxHtmlEditor.ReplacePlaceholders(String, String, String, Dictionary<String, String>) Method

Replaces placeholders with the specified values.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public static string ReplacePlaceholders(
    string html,
    string startMark,
    string endMark,
    Dictionary<string, string> placeholders
)

Parameters

Name Type Description
html String

A string value that specifies the HTML code to process.

startMark String

A string value that specifies the starting character(s) of the placeholders.

endMark String

A string value that specifies the character(s) displayed at the end of the placeholders.

placeholders Dictionary<String, String>

The collection of placeholders and values to replace them.

Returns

Type Description
String

A string value that is the resulting HTML code with the placeholders replaced.

See Also