In This Topic
Removes element by its ID, tag and/or class name.
Syntax
'Declaration
Public Sub RemoveElement( _
ByVal As System.String, _
Optional ByVal As System.String, _
Optional ByVal As System.String, _
Optional ByVal As System.Boolean _
)
public void RemoveElement(
System.string ,
System.string ,
System.string ,
System.bool
)
Parameters
- elementId
- Element ID to remove.
- tag
- Tag name to remove.
- className
- Class name of the elements to remove.
- removeChildren
- Determines whether child elements should also be removed.
See Also