ASPxHtmlEditor.ReplacePlaceholders(String, String, String, Object) Method
Replaces placeholders with the specified values.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
public static string ReplacePlaceholders(
string html,
string startMark,
string endMark,
object 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 | Object | An object that specifies the 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