RemoveAttribute

Element.RemoveAttribute method

Removes an attribute by name.

public bool RemoveAttribute(string name)
ParameterTypeDescription
nameStringThe attribute name.

Return Value

True if find and remove the attribute, otherwise false.

See Also