Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / ReplaceElementAsync Method
HTML fragment to replace with.
The ID of the element to be replaced.
The Tag name of the elements to be replaced.
The class name of the elements to be replaced.

In This Topic
    ReplaceElementAsync Method
    In This Topic
    Replaces the found elements with the specified HTML fragment asynchronously.
    Syntax
    'Declaration
     
    Public Function ReplaceElementAsync( _
       ByVal replaceWith As System.String, _
       ByVal elementId As System.String, _
       Optional ByVal elementTag As System.String, _
       Optional ByVal elementClass As System.String _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task ReplaceElementAsync( 
       System.string replaceWith,
       System.string elementId,
       System.string elementTag,
       System.string elementClass
    )

    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