[]
Inserts the specified HTML fragment into the found elements asynchronously.
public Task InsertIntoElementAsync(string htmlFragment, ContentInsertMode insertMode, string elementId = null, string elementTag = null, string elementClass = null)
Public Function InsertIntoElementAsync(htmlFragment As String, insertMode As ContentInsertMode, Optional elementId As String = Nothing, Optional elementTag As String = Nothing, Optional elementClass As String = Nothing) As Task
| Type | Name | Description |
|---|---|---|
| string | htmlFragment | The HTML fragment to insert into the target element. |
| ContentInsertMode | insertMode | Specifies whether the HTML fragment is inserted as the first child, the last child, or replaces the existing content of the target element. |
| string | elementId | The ID of the target element. |
| string | elementTag | The tag name of the target elements. |
| string | elementClass | The class name of the target elements. |
| Type | Description |
|---|---|
| Task |