A newer version of this page is available. Switch to the current version.

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

Replaces placeholders with the specified values.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v18.2.dll


public static string ReplacePlaceholders(
    string html,
    string startMark,
    string endMark,
    Dictionary<string, string> placeholders
Public Shared Function ReplacePlaceholders(
    html As String,
    startMark As String,
    endMark As String,
    placeholders As Dictionary(Of String, String)
) As String


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.


Type Description

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

See Also