GetAttribute

Element.GetAttribute method

按名称检索属性值。

public string GetAttribute(string name)
范围类型描述
nameString要检索的属性的名称。

返回值

返回属性值

也可以看看