Method GetAttributeWithInheritance
GetAttributeWithInheritance(XmlElement, String)
Returns an attribute value from this node, or first parent node with this attribute defined
Declaration
public static string GetAttributeWithInheritance(XmlElement element, string attributeName)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | element | |
System.String | attributeName |
Returns
Type | Description |
---|---|
System.String | A non-zero-length value if defined, otherwise null |