RemoveAttribute

Element.RemoveAttribute method

按名称删除属性。

public bool RemoveAttribute(string name)
范围类型描述
nameString属性名称。

返回值

如果找到并删除属性,则为真,否则为假。

也可以看看