Replaces placeholders with the specified values.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v19.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 |
---|---|
String | A string value that is the resulting HTML code with the placeholders replaced. |