ReplaceElementAsync Method
In This Topic
Replaces the found elements with the specified HTML fragment asynchronously.
Syntax
'Declaration
Public Function ReplaceElementAsync( _
ByVal As System.String, _
ByVal As System.String, _
Optional ByVal As System.String, _
Optional ByVal As System.String _
) As System.Threading.Tasks.Task
public System.Threading.Tasks.Task ReplaceElementAsync(
System.string ,
System.string ,
System.string ,
System.string
)
Parameters
- replaceWith
- HTML fragment to replace with.
- elementId
- The ID of the element to be replaced.
- elementTag
- The Tag name of the elements to be replaced.
- elementClass
- The class name of the elements to be replaced.
See Also