// Removes all attributes from the element. public virtual void RemoveAllAttributes() { if (HasAttributes) { _attributes.RemoveAll(); } }
public virtual void RemoveAllAttributes() { if (attributes != null) { attributes.RemoveAll(); } }