HasAttributes

Element.HasAttributes method

返回此节点(如果是元素)是否有任何属性

public override bool HasAttributes()

返回值

布尔值真的如果这个节点有任何属性,错误的否则。

也可以看看