Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / ReplaceElement 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
    ReplaceElement Method
    In This Topic
    Replaces the found elements with the specified HTML fragment.
    Syntax
    'Declaration
     
    Public Sub ReplaceElement( _
       ByVal replaceWith As System.String, _
       ByVal elementId As System.String, _
       Optional ByVal elementTag As System.String, _
       Optional ByVal elementClass As System.String _
    ) 
    public void ReplaceElement( 
       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