GetAttributeNS

Element.GetAttributeNS method

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

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

返回值

属性的值。

另请参阅