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

ASPxHtmlEditor.ReplacePlaceholders(String, String, String, Object) 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,
    object placeholders
Public Shared Function ReplacePlaceholders(
    html As String,
    startMark As String,
    endMark As String,
    placeholders As Object
) 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 Object

An object that specifies the placeholders and values to replace them.


Type Description

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

See Also