GetAttributeNS

Element.GetAttributeNS method

通过本地名称和命名空间 URI 获取属性值。

public string GetAttributeNS(string namespaceURI, string localName)
范围类型描述
namespaceURIString属性命名空间 URI。
localNameString属性本地名称。

返回值

属性值。

也可以看看